summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/bgfx/chainentryreader.h
diff options
context:
space:
mode:
author ImJezze <jezze@gmx.net>2016-04-24 20:36:42 +0200
committer ImJezze <jezze@gmx.net>2016-04-24 20:36:42 +0200
commit07d8b25571860897fdad90c0c215b3e949f96ea9 (patch)
treeec378412f51fd296d87162871bdbdbe8926b9d71 /src/osd/modules/render/bgfx/chainentryreader.h
parent29f51e85db4572febadf40956e2808f5444d2135 (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/chainentryreader.h')
-rw-r--r--src/osd/modules/render/bgfx/chainentryreader.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/osd/modules/render/bgfx/chainentryreader.h b/src/osd/modules/render/bgfx/chainentryreader.h
index 267fe63948e..0f604e9a71f 100644
--- a/src/osd/modules/render/bgfx/chainentryreader.h
+++ b/src/osd/modules/render/bgfx/chainentryreader.h
@@ -15,18 +15,15 @@
#include "statereader.h"
-class osd_options;
class bgfx_chain_entry;
-class texture_manager;
-class target_manager;
-class effect_manager;
class bgfx_slider;
class bgfx_parameter;
+class chain_manager;
class chain_entry_reader : public state_reader
{
public:
- static bgfx_chain_entry* read_from_value(const Value& value, std::string prefix, osd_options& options, texture_manager& textures, target_manager& targets, effect_manager& effects, std::map<std::string, bgfx_slider*>& sliders, std::map<std::string, bgfx_parameter*>& params, uint32_t screen_index);
+ static bgfx_chain_entry* read_from_value(const Value& value, std::string prefix, chain_manager& chains, std::map<std::string, bgfx_slider*>& sliders, std::map<std::string, bgfx_parameter*>& params, uint32_t screen_index);
private:
static bool validate_parameters(const Value& value, std::string prefix);