diff options
Diffstat (limited to 'source/blender/compositor/operations/COM_KeyingDespillOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_KeyingDespillOperation.h | 38 |
1 files changed, 22 insertions, 16 deletions
diff --git a/source/blender/compositor/operations/COM_KeyingDespillOperation.h b/source/blender/compositor/operations/COM_KeyingDespillOperation.h index 13f15c12d0c..eb43a478e50 100644 --- a/source/blender/compositor/operations/COM_KeyingDespillOperation.h +++ b/source/blender/compositor/operations/COM_KeyingDespillOperation.h @@ -25,22 +25,28 @@ * Class with implementation of keying despill node */ class KeyingDespillOperation : public NodeOperation { -protected: - SocketReader *m_pixelReader; - SocketReader *m_screenReader; - float m_despillFactor; - float m_colorBalance; - -public: - KeyingDespillOperation(); - - void initExecution(); - void deinitExecution(); - - void setDespillFactor(float value) {this->m_despillFactor = value;} - void setColorBalance(float value) {this->m_colorBalance = value;} - - void executePixelSampled(float output[4], float x, float y, PixelSampler sampler); + protected: + SocketReader *m_pixelReader; + SocketReader *m_screenReader; + float m_despillFactor; + float m_colorBalance; + + public: + KeyingDespillOperation(); + + void initExecution(); + void deinitExecution(); + + void setDespillFactor(float value) + { + this->m_despillFactor = value; + } + void setColorBalance(float value) + { + this->m_colorBalance = value; + } + + void executePixelSampled(float output[4], float x, float y, PixelSampler sampler); }; #endif |