summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/bgfx/paramuniform.h
blob: b49fb2c7d61d061a51a940070ab743150bebca77 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// license:BSD-3-Clause
// copyright-holders:Ryan Holtz
//============================================================
//
//  paramuniform.h - BGFX shader chain parametric uniform
//
//============================================================

#pragma once

#ifndef __DRAWBGFX_PARAM_UNIFORM__
#define __DRAWBGFX_PARAM_UNIFORM__

#include "entryuniform.h"

class bgfx_parameter;

class bgfx_param_uniform : public bgfx_entry_uniform
{
public:
	bgfx_param_uniform(bgfx_uniform* uniform, bgfx_parameter* param);

	virtual void bind() override;

private:
	bgfx_parameter* m_param;
};

#endif // __DRAWBGFX_PARAM_UNIFORM__