blob: a48500131e02e18668a123426f924b7ea88d4c5a (
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
|
// license:BSD-3-Clause
// copyright-holders:Ryan Holtz
//============================================================
//
// effectreader.h - BGFX effect JSON reader
//
//============================================================
#pragma once
#ifndef __DRAWBGFX_EFFECT_READER__
#define __DRAWBGFX_EFFECT_READER__
#include "statereader.h"
class bgfx_effect;
class shader_manager;
class effect_reader : public state_reader
{
public:
static bgfx_effect* read_from_value(shader_manager& shaders, const Value& value);
private:
static void validate_parameters(const Value& value);
};
#endif // __DRAWBGFX_EFFECT_READER__
|