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_ConvertColorProfileOperation.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_ConvertColorProfileOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_ConvertColorProfileOperation.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/source/blender/compositor/operations/COM_ConvertColorProfileOperation.h b/source/blender/compositor/operations/COM_ConvertColorProfileOperation.h
index 532fad86091..960d267b906 100644
--- a/source/blender/compositor/operations/COM_ConvertColorProfileOperation.h
+++ b/source/blender/compositor/operations/COM_ConvertColorProfileOperation.h
@@ -29,19 +29,19 @@ namespace blender::compositor {
class ConvertColorProfileOperation : public NodeOperation {
private:
/**
- * Cached reference to the inputProgram
+ * Cached reference to the input_program
*/
- SocketReader *inputOperation_;
+ SocketReader *input_operation_;
/**
* \brief color profile where to convert from
*/
- int fromProfile_;
+ int from_profile_;
/**
* \brief color profile where to convert to
*/
- int toProfile_;
+ int to_profile_;
/**
* \brief is color predivided
@@ -57,27 +57,27 @@ class ConvertColorProfileOperation : public NodeOperation {
/**
* 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 setFromColorProfile(int colorProfile)
+ void set_from_color_profile(int color_profile)
{
- fromProfile_ = colorProfile;
+ from_profile_ = color_profile;
}
- void setToColorProfile(int colorProfile)
+ void set_to_color_profile(int color_profile)
{
- toProfile_ = colorProfile;
+ to_profile_ = color_profile;
}
- void setPredivided(bool predivided)
+ void set_predivided(bool predivided)
{
predivided_ = predivided;
}