summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/bgfx/paramuniform.h
blob: 5f5b69c96a6f9ce2d3b2c2b1606b580d3349f6c7 (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
//
//============================================================

#ifndef MAME_RENDER_BGFX_PARAMUNIFORM_H
#define MAME_RENDER_BGFX_PARAMUNIFORM_H

#pragma once

#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 // MAME_RENDER_BGFX_PARAMUNIFORM_H