summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/bgfx/chain.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/render/bgfx/chain.h')
-rw-r--r--src/osd/modules/render/bgfx/chain.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/osd/modules/render/bgfx/chain.h b/src/osd/modules/render/bgfx/chain.h
index bc68d4d5af2..465e44fea85 100644
--- a/src/osd/modules/render/bgfx/chain.h
+++ b/src/osd/modules/render/bgfx/chain.h
@@ -28,7 +28,7 @@ class osd_window;
class bgfx_chain
{
public:
- bgfx_chain(std::string name, std::string author, target_manager& targets, std::vector<bgfx_slider*> sliders, std::vector<bgfx_parameter*> params, std::vector<bgfx_chain_entry*> entries, std::vector<bgfx_target*> target_list, uint32_t screen_index);
+ bgfx_chain(std::string name, std::string author, bool transform, target_manager& targets, std::vector<bgfx_slider*> sliders, std::vector<bgfx_parameter*> params, std::vector<bgfx_chain_entry*> entries, std::vector<bgfx_target*> target_list, uint32_t screen_index);
~bgfx_chain();
void process(render_primitive* prim, int view, int screen, texture_manager& textures, osd_window &window, uint64_t blend = 0L);
@@ -36,10 +36,12 @@ public:
// Getters
std::vector<bgfx_slider*>& sliders() { return m_sliders; }
uint32_t applicable_passes();
+ bool transform() { return m_transform; }
private:
std::string m_name;
std::string m_author;
+ bool m_transform;
target_manager& m_targets;
std::vector<bgfx_slider*> m_sliders;
std::vector<bgfx_parameter*> m_params;