blob: a254a3d187c8e8c7bfc1b2ecf961e51dd79cc49c (
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
//============================================================
//
// entryuniformreader.h - BGFX chain entry uniform reader
//
//============================================================
#pragma once
#ifndef __DRAWBGFX_ENTRY_UNIFORM_READER__
#define __DRAWBGFX_ENTRY_UNIFORM_READER__
#include <string>
#include <map>
#include "statereader.h"
class bgfx_entry_uniform;
class bgfx_slider;
class bgfx_effect;
class entry_uniform_reader : public state_reader
{
public:
static bgfx_entry_uniform* read_from_value(const Value& value, bgfx_effect* effect, std::map<std::string, bgfx_slider*>& sliders);
private:
static void validate_parameters(const Value& value);
};
#endif // __DRAWBGFX_ENTRY_UNIFORM_READER__
|