Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/client/StarClientApplication.hpp
diff options
context:
space:
mode:
authorBottinator22 <bottinator22@gmail.com>2025-04-01 09:54:35 -0700
committerBottinator22 <bottinator22@gmail.com>2025-04-01 09:54:35 -0700
commit1354fa689ab0e8cde06b75789ab53b5f4edd532b (patch)
tree0232a0d0d27391eb75cb9b1a7ceffc3373a1a14d /source/client/StarClientApplication.hpp
parent941f4f9a20eedd20b32ffd817bb6a5ecb2e80b55 (diff)
configurable number of post-process shader passes
Diffstat (limited to 'source/client/StarClientApplication.hpp')
-rw-r--r--source/client/StarClientApplication.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/client/StarClientApplication.hpp b/source/client/StarClientApplication.hpp
index 86b50a3..2fcddb7 100644
--- a/source/client/StarClientApplication.hpp
+++ b/source/client/StarClientApplication.hpp
@@ -19,8 +19,9 @@ STAR_CLASS(Voice);
class ClientApplication : public Application {
public:
- void setPostProcessGroupEnabled(String group, bool enabled, Maybe<bool> save);
- bool postProcessGroupEnabled(String group);
+ void setPostProcessLayerPasses(String const& layer, unsigned const& passes);
+ void setPostProcessGroupEnabled(String const& group, bool const& enabled, Maybe<bool> const& save);
+ bool postProcessGroupEnabled(String const& group);
Json postProcessGroups();
protected:
@@ -116,6 +117,7 @@ private:
StringMap<PostProcessGroup> m_postProcessGroups;
List<PostProcessLayer> m_postProcessLayers;
+ StringMap<size_t> m_labelledPostProcessLayers;
// Valid if main app state == SinglePlayer
UniverseServerPtr m_universeServer;