33 this->m_inputColorProgram =
nullptr;
34 this->m_inputVectorProgram =
nullptr;
35 this->m_inputScaleXProgram =
nullptr;
36 this->m_inputScaleYProgram =
nullptr;
46 this->m_width_x4 = this->
getWidth() * 4;
47 this->m_height_x4 = this->
getHeight() * 4;
65 this->m_inputScaleXProgram->
readSampled(inScale,
x,
y, sampler);
66 float xs = inScale[0];
67 this->m_inputScaleYProgram->
readSampled(inScale,
x,
y, sampler);
68 float ys = inScale[0];
72 CLAMP(xs, -this->m_width_x4, this->m_width_x4);
73 CLAMP(ys, -this->m_height_x4, this->m_height_x4);
75 this->m_inputVectorProgram->
readSampled(inVector,
x,
y, sampler);
76 p_dx = inVector[0] * xs;
77 p_dy = inVector[1] * ys;
91 this->m_inputColorProgram =
nullptr;
92 this->m_inputVectorProgram =
nullptr;
93 this->m_inputScaleXProgram =
nullptr;
94 this->m_inputScaleYProgram =
nullptr;
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint y
Group RGB to Bright Vector Camera CLAMP
ATTR_WARN_UNUSED_RESULT const BMVert * v
bool determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output) override
DisplaceSimpleOperation()
void deinitExecution() override
void initExecution() override
void executePixelSampled(float output[4], float x, float y, PixelSampler sampler) override
NodeOperation contains calculation logic.
void readSampled(float result[4], float x, float y, PixelSampler sampler)
unsigned int getHeight() const
void addInputSocket(DataType datatype, ResizeMode resize_mode=ResizeMode::Center)
NodeOperation * getInputOperation(unsigned int inputSocketindex)
void addOutputSocket(DataType datatype)
unsigned int getWidth() const
SocketReader * getInputSocketReader(unsigned int inputSocketindex)
virtual bool determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output)
@ Vector
Vector data type.