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_TextureOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_TextureOperation.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/source/blender/compositor/operations/COM_TextureOperation.h b/source/blender/compositor/operations/COM_TextureOperation.h
index 5bc21da1f96..bf1bb1affb8 100644
--- a/source/blender/compositor/operations/COM_TextureOperation.h
+++ b/source/blender/compositor/operations/COM_TextureOperation.h
@@ -35,12 +35,12 @@ namespace blender::compositor {
*/
class TextureBaseOperation : public MultiThreadedOperation {
private:
- Tex *m_texture;
- const RenderData *m_rd;
- SocketReader *m_inputSize;
- SocketReader *m_inputOffset;
- struct ImagePool *m_pool;
- bool m_sceneColorManage;
+ Tex *texture_;
+ const RenderData *rd_;
+ SocketReader *input_size_;
+ SocketReader *input_offset_;
+ struct ImagePool *pool_;
+ bool scene_color_manage_;
protected:
/**
@@ -54,21 +54,21 @@ class TextureBaseOperation : public MultiThreadedOperation {
TextureBaseOperation();
public:
- 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 setTexture(Tex *texture)
+ void set_texture(Tex *texture)
{
- this->m_texture = texture;
+ texture_ = texture;
}
- void initExecution() override;
- void deinitExecution() override;
- void setRenderData(const RenderData *rd)
+ void init_execution() override;
+ void deinit_execution() override;
+ void set_render_data(const RenderData *rd)
{
- this->m_rd = rd;
+ rd_ = rd;
}
- void setSceneColorManage(bool sceneColorManage)
+ void set_scene_color_manage(bool scene_color_manage)
{
- this->m_sceneColorManage = sceneColorManage;
+ scene_color_manage_ = scene_color_manage;
}
void update_memory_buffer_partial(MemoryBuffer *output,
@@ -83,7 +83,7 @@ class TextureOperation : public TextureBaseOperation {
class TextureAlphaOperation : public TextureBaseOperation {
public:
TextureAlphaOperation();
- 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,