diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2012-06-14 07:11:36 +0400 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2012-06-14 07:11:36 +0400 |
commit | fac417a3baf132e7d04540e1fbdefe7d3a1fa17b (patch) | |
tree | e167461558b6b239a12a16fefe16df5faeba2137 /source/blender/compositor/operations/COM_GlareThresholdOperation.h | |
parent | cc82653b728408d5e30524549a419fe20fa6a967 (diff) |
Fixed glares
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 |