Update StarRenderer_opengl.hpp

This commit is contained in:
Bottinator22 2024-12-28 20:04:19 -08:00 committed by GitHub
parent ebabc7bf8e
commit 740cf89122
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,6 +25,9 @@ public:
void loadEffectConfig(String const& name, Json const& effectConfig, StringMap<String> const& shaders) override;
void setEffectParameter(String const& parameterName, RenderEffectParameter const& parameter) override;
void setEffectScriptableParameter(String const& effectName, String const& parameterName, RenderEffectParameter const& parameter) override;
Maybe<RenderEffectParameter> getEffectScriptableParameter(String const& effectName, String const& parameterName) override;
Maybe<VariantTypeIndex> getEffectScriptableParameterType(String const& effectName, String const& parameterName) override;
void setEffectTexture(String const& textureName, ImageView const& image) override;
void setScissorRect(Maybe<RectI> const& scissorRect) override;
@ -191,6 +194,7 @@ private:
GLuint program = 0;
Json config;
StringMap<EffectParameter> parameters;
StringMap<EffectParameter> scriptables; // scriptable parameters which can be changed when the effect is not loaded
StringMap<EffectTexture> textures;
StringMap<GLuint> attributes;