diff --git a/source/application/StarRenderer.hpp b/source/application/StarRenderer.hpp index 2a156f7..2b106ff 100644 --- a/source/application/StarRenderer.hpp +++ b/source/application/StarRenderer.hpp @@ -120,7 +120,7 @@ public: virtual void set(List& primitives) = 0; }; -typedef Variant RenderEffectParameter; +typedef Variant RenderEffectParameter; class Renderer { public: @@ -141,6 +141,9 @@ public: // The effect config will specify named parameters and textures which can be // set here. virtual void setEffectParameter(String const& parameterName, RenderEffectParameter const& parameter) = 0; + virtual void setEffectScriptableParameter(String const& effectName, String const& parameterName, RenderEffectParameter const& parameter) = 0; + virtual Maybe getEffectScriptableParameter(String const& effectName, String const& parameterName) = 0; + virtual Maybe getEffectScriptableParameterType(String const& effectName, String const& parameterName) = 0; virtual void setEffectTexture(String const& textureName, ImageView const& image) = 0; virtual bool switchEffectConfig(String const& name) = 0;