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:
authorManuel Castilla <manzanillawork@gmail.com>2021-10-14 00:01:15 +0300
committerManuel Castilla <manzanillawork@gmail.com>2021-10-14 00:41:14 +0300
commit1c42d4930a24d639b3aa561b9a8b4bbce05977e0 (patch)
tree68c2aae3fd5ae98b78708bea28c0b55d3f4fb5f0 /source/blender/compositor/operations/COM_InvertOperation.h
parenta2ee3c3a9f01f5cb2f05f1e84a1b6c1931d9d4a4 (diff)
Cleanup: convert camelCase naming to snake_case in Compositor
To convert old code to the current convention and use a single code style.
Diffstat (limited to 'source/blender/compositor/operations/COM_InvertOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_InvertOperation.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/compositor/operations/COM_InvertOperation.h b/source/blender/compositor/operations/COM_InvertOperation.h
index 7db0394ad7a..19abca968c0 100644
--- a/source/blender/compositor/operations/COM_InvertOperation.h
+++ b/source/blender/compositor/operations/COM_InvertOperation.h
@@ -25,10 +25,10 @@ namespace blender::compositor {
class InvertOperation : public MultiThreadedOperation {
private:
/**
- * Cached reference to the inputProgram
+ * Cached reference to the input_program
*/
- SocketReader *inputValueProgram_;
- SocketReader *inputColorProgram_;
+ SocketReader *input_value_program_;
+ SocketReader *input_color_program_;
bool alpha_;
bool color_;
@@ -39,23 +39,23 @@ class InvertOperation : public MultiThreadedOperation {
/**
* 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;
/**
* Initialize the execution
*/
- void initExecution() override;
+ void init_execution() override;
/**
* Deinitialize the execution
*/
- void deinitExecution() override;
+ void deinit_execution() override;
- void setColor(bool color)
+ void set_color(bool color)
{
color_ = color;
}
- void setAlpha(bool alpha)
+ void set_alpha(bool alpha)
{
alpha_ = alpha;
}