Blender  V3.3
COM_ColorCorrectionOperation.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2011 Blender Foundation. */
3 
4 #pragma once
5 
7 
8 namespace blender::compositor {
9 
11  private:
15  SocketReader *input_image_;
16  SocketReader *input_mask_;
17  NodeColorCorrection *data_;
18 
19  bool red_channel_enabled_;
20  bool green_channel_enabled_;
21  bool blue_channel_enabled_;
22 
23  public:
25 
29  void execute_pixel_sampled(float output[4], float x, float y, PixelSampler sampler) override;
30 
34  void init_execution() override;
35 
39  void deinit_execution() override;
40 
42  {
43  data_ = data;
44  }
46  {
47  red_channel_enabled_ = enabled;
48  }
50  {
51  green_channel_enabled_ = enabled;
52  }
54  {
55  blue_channel_enabled_ = enabled;
56  }
57 
58  void update_memory_buffer_row(PixelCursor &p) override;
59 };
60 
61 } // namespace blender::compositor
_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
void execute_pixel_sampled(float output[4], float x, float y, PixelSampler sampler) override
NodeOperation contains calculation logic.
depth_tx sampler(1, ImageType::FLOAT_2D, "combined_tx") .sampler(2
T * data_
Definition: eval_output.h:163
bool enabled
ccl_global KernelShaderEvalInput ccl_global float * output