diff options
Diffstat (limited to 'src/osd/modules/render/bgfx/effectreader.h')
-rw-r--r-- | src/osd/modules/render/bgfx/effectreader.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/osd/modules/render/bgfx/effectreader.h b/src/osd/modules/render/bgfx/effectreader.h index 0ccd94447b8..0bc1b334435 100644 --- a/src/osd/modules/render/bgfx/effectreader.h +++ b/src/osd/modules/render/bgfx/effectreader.h @@ -16,23 +16,14 @@ #include "statereader.h" class bgfx_effect; -class bgfx_uniform; class shader_manager; class effect_reader : public state_reader { public: - static bgfx_effect *read_from_value(const Value& value, std::string prefix, osd_options &options, shader_manager& shaders); - static bool validate_value(const Value& value, std::string prefix, osd_options &options); + static bgfx_effect* read_from_value(const Value& value, std::string prefix, shader_manager& shaders); private: - static bool get_base_effect_data(const Value& value, std::string &prefix, uint64_t &flags, std::string &vertex_name, std::string &fragment_name, - std::vector<bgfx_uniform *> &uniforms); - static bool get_shader_data(const Value& value, osd_options &options, shader_manager &shaders, std::string &vertex_name, bgfx::ShaderHandle &vertex_shader, - std::string &fragment_name, bgfx::ShaderHandle &fragment_shader); - static bool get_shader_data(const Value& value, osd_options &options, std::string &vertex_name, bgfx::ShaderHandle &vertex_shader, std::string &fragment_name, - bgfx::ShaderHandle &fragment_shader); - static void clear_uniform_list(std::vector<bgfx_uniform *> &uniforms); static bool validate_parameters(const Value& value, std::string prefix); }; |