From 1354fa689ab0e8cde06b75789ab53b5f4edd532b Mon Sep 17 00:00:00 2001 From: Bottinator22 Date: Tue, 1 Apr 2025 09:54:35 -0700 Subject: configurable number of post-process shader passes --- source/client/StarClientApplication.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source/client/StarClientApplication.hpp') 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 save); - bool postProcessGroupEnabled(String group); + void setPostProcessLayerPasses(String const& layer, unsigned const& passes); + void setPostProcessGroupEnabled(String const& group, bool const& enabled, Maybe const& save); + bool postProcessGroupEnabled(String const& group); Json postProcessGroups(); protected: @@ -116,6 +117,7 @@ private: StringMap m_postProcessGroups; List m_postProcessLayers; + StringMap m_labelledPostProcessLayers; // Valid if main app state == SinglePlayer UniverseServerPtr m_universeServer; -- cgit v1.2.3