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_KeyingDespillOperation.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_KeyingDespillOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_KeyingDespillOperation.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/compositor/operations/COM_KeyingDespillOperation.h b/source/blender/compositor/operations/COM_KeyingDespillOperation.h
index 51efa44ce1c..b57fbd09e74 100644
--- a/source/blender/compositor/operations/COM_KeyingDespillOperation.h
+++ b/source/blender/compositor/operations/COM_KeyingDespillOperation.h
@@ -27,27 +27,27 @@ namespace blender::compositor {
*/
class KeyingDespillOperation : public MultiThreadedOperation {
protected:
- SocketReader *pixelReader_;
- SocketReader *screenReader_;
- float despillFactor_;
- float colorBalance_;
+ SocketReader *pixel_reader_;
+ SocketReader *screen_reader_;
+ float despill_factor_;
+ float color_balance_;
public:
KeyingDespillOperation();
- void initExecution() override;
- void deinitExecution() override;
+ void init_execution() override;
+ void deinit_execution() override;
- void setDespillFactor(float value)
+ void set_despill_factor(float value)
{
- despillFactor_ = value;
+ despill_factor_ = value;
}
- void setColorBalance(float value)
+ void set_color_balance(float value)
{
- colorBalance_ = value;
+ color_balance_ = value;
}
- 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 update_memory_buffer_partial(MemoryBuffer *output,
const rcti &area,