blob: b1ed2a87f69b343aa7b7c4c24ac30b1b6a5f7cf9 (
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
30
31
32
|
// license:BSD-3-Clause
// copyright-holders:Ryan Holtz
//==================================================================
//
// paramuniformreader.h - BGFX chain entry parameter mapper reader
//
//==================================================================
#ifndef MAME_RENDER_BGFX_PARAMUNIFORMREADER_H
#define MAME_RENDER_BGFX_PARAMUNIFORMREADER_H
#pragma once
#include "statereader.h"
#include <map>
#include <string>
class bgfx_entry_uniform;
class bgfx_uniform;
class bgfx_parameter;
class param_uniform_reader : public state_reader
{
public:
static bgfx_entry_uniform* read_from_value(const Value& value, const std::string &prefix, bgfx_uniform* uniform, std::map<std::string, bgfx_parameter*>& params);
private:
static bool validate_parameters(const Value& value, const std::string &prefix);
};
#endif // MAME_RENDER_BGFX_PARAMUNIFORMREADER_H
|