diff options
Diffstat (limited to 'src/osd/modules/render/bgfx/chainentry.h')
-rw-r--r-- | src/osd/modules/render/bgfx/chainentry.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/osd/modules/render/bgfx/chainentry.h b/src/osd/modules/render/bgfx/chainentry.h index 83a615d28a5..33480d53f3f 100644 --- a/src/osd/modules/render/bgfx/chainentry.h +++ b/src/osd/modules/render/bgfx/chainentry.h @@ -21,25 +21,27 @@ class render_primitive; class bgfx_effect; -class bgfx_texture; class bgfx_target; +class bgfx_entry_uniform; +class texture_manager; class bgfx_chain_entry { public: - bgfx_chain_entry(std::string name, bgfx_effect* effect, std::vector<bgfx_input_pair>& inputs, bgfx_target* output); + bgfx_chain_entry(std::string name, bgfx_effect* effect, std::vector<bgfx_input_pair>& inputs, std::vector<bgfx_entry_uniform*> uniforms, bgfx_target* output); ~bgfx_chain_entry(); - void submit(render_primitive* prim, int view); + void submit(render_primitive* prim, int view, texture_manager& textures, uint16_t screen_width, uint16_t screen_height, uint64_t blend = 0L); // Getters std::string name() const { return m_name; } private: - std::string m_name; - bgfx_effect* m_effect; - std::vector<bgfx_input_pair> m_inputs; - bgfx_target* m_output; + std::string m_name; + bgfx_effect* m_effect; + std::vector<bgfx_input_pair> m_inputs; + std::vector<bgfx_entry_uniform*> m_uniforms; + bgfx_target* m_output; }; #endif // __DRAWBGFX_CHAIN_ENTRY__ |