diff options
Diffstat (limited to 'source/blender/compositor/operations/COM_GlareThresholdOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_GlareThresholdOperation.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/source/blender/compositor/operations/COM_GlareThresholdOperation.h b/source/blender/compositor/operations/COM_GlareThresholdOperation.h index d5ec8ba93a6..70692565e27 100644 --- a/source/blender/compositor/operations/COM_GlareThresholdOperation.h +++ b/source/blender/compositor/operations/COM_GlareThresholdOperation.h @@ -32,8 +32,10 @@ private: */ SocketReader *inputProgram; - float threshold; - + /** + * @brief settings of the glare node. + */ + NodeGlare *settings; public: GlareThresholdOperation(); @@ -52,8 +54,10 @@ public: */ void deinitExecution(); - void setThreshold(float threshold) { - this->threshold = threshold; + void setGlareSettings(NodeGlare *settings) { + this->settings = settings; } + + void determineResolution(unsigned int resolution[], unsigned int preferredResolution[]); }; #endif |