diff options
author | 2016-04-24 20:36:42 +0200 | |
---|---|---|
committer | 2016-04-24 20:36:42 +0200 | |
commit | 07d8b25571860897fdad90c0c215b3e949f96ea9 (patch) | |
tree | ec378412f51fd296d87162871bdbdbe8926b9d71 /src/osd/modules/render/bgfx/chainentry.h | |
parent | 29f51e85db4572febadf40956e2808f5444d2135 (diff) |
Added "selection" parameter to chain input sampler
- if specified all textures (.png) within the same directoy of the given texture will be selectable via slider in the UI
- also added slider for "shadow mask tile mode" to HLSL chain
Diffstat (limited to 'src/osd/modules/render/bgfx/chainentry.h')
-rw-r--r-- | src/osd/modules/render/bgfx/chainentry.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/osd/modules/render/bgfx/chainentry.h b/src/osd/modules/render/bgfx/chainentry.h index d6452861de2..271941537a7 100644 --- a/src/osd/modules/render/bgfx/chainentry.h +++ b/src/osd/modules/render/bgfx/chainentry.h @@ -34,13 +34,14 @@ class target_manager; class bgfx_chain_entry { public: - bgfx_chain_entry(std::string name, bgfx_effect* effect, clear_state* clear, std::vector<bgfx_suppressor*> suppressors, std::vector<bgfx_input_pair> inputs, std::vector<bgfx_entry_uniform*> uniforms, target_manager& targets, std::string output); + bgfx_chain_entry(std::string name, bgfx_effect* effect, clear_state* clear, std::vector<bgfx_suppressor*> suppressors, std::vector<bgfx_input_pair*> inputs, std::vector<bgfx_entry_uniform*> uniforms, target_manager& targets, std::string output); ~bgfx_chain_entry(); void submit(int view, render_primitive* prim, texture_manager& textures, uint16_t screen_width, uint16_t screen_height, float screen_scale_x, float screen_scale_y, float screen_offset_x, float screen_offset_y, uint32_t rotation_type, bool swap_xy, uint64_t blend, int32_t screen); // Getters std::string name() const { return m_name; } + std::vector<bgfx_input_pair*>& inputs() { return m_inputs; } bool skip(); private: @@ -62,7 +63,7 @@ private: bgfx_effect* m_effect; clear_state* m_clear; std::vector<bgfx_suppressor*> m_suppressors; - std::vector<bgfx_input_pair> m_inputs; + std::vector<bgfx_input_pair*> m_inputs; std::vector<bgfx_entry_uniform*> m_uniforms; target_manager& m_targets; std::string m_output; |