Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/compositor/operations/COM_SetColorOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_SetColorOperation.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/source/blender/compositor/operations/COM_SetColorOperation.h b/source/blender/compositor/operations/COM_SetColorOperation.h
index 34ea35bdcbc..0e04c0324b8 100644
--- a/source/blender/compositor/operations/COM_SetColorOperation.h
+++ b/source/blender/compositor/operations/COM_SetColorOperation.h
@@ -28,7 +28,7 @@ namespace blender::compositor {
*/
class SetColorOperation : public ConstantOperation {
private:
- float m_color[4];
+ float color_[4];
public:
/**
@@ -38,50 +38,50 @@ class SetColorOperation : public ConstantOperation {
const float *get_constant_elem() override
{
- return m_color;
+ return color_;
}
- float getChannel1()
+ float get_channel1()
{
- return this->m_color[0];
+ return color_[0];
}
- void setChannel1(float value)
+ void set_channel1(float value)
{
- this->m_color[0] = value;
+ color_[0] = value;
}
- float getChannel2()
+ float get_channel2()
{
- return this->m_color[1];
+ return color_[1];
}
- void setChannel2(float value)
+ void set_channel2(float value)
{
- this->m_color[1] = value;
+ color_[1] = value;
}
- float getChannel3()
+ float get_channel3()
{
- return this->m_color[2];
+ return color_[2];
}
- void setChannel3(float value)
+ void set_channel3(float value)
{
- this->m_color[2] = value;
+ color_[2] = value;
}
- float getChannel4()
+ float get_channel4()
{
- return this->m_color[3];
+ return color_[3];
}
- void setChannel4(const float value)
+ void set_channel4(const float value)
{
- this->m_color[3] = value;
+ color_[3] = value;
}
- void setChannels(const float value[4])
+ void set_channels(const float value[4])
{
- copy_v4_v4(this->m_color, value);
+ copy_v4_v4(color_, value);
}
/**
* The inner loop of this operation.
*/
- void executePixelSampled(float output[4], float x, float y, PixelSampler sampler) override;
+ void execute_pixel_sampled(float output[4], float x, float y, PixelSampler sampler) override;
void determine_canvas(const rcti &preferred_area, rcti &r_area) override;
};