diff options
author | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-07 22:36:35 +0300 |
---|---|---|
committer | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-08 02:29:02 +0300 |
commit | 12a5a605572d742335a4978966444d393792cd28 (patch) | |
tree | f06fa16602c175982ca2e5d6ec5b55f387a98cbc /source/blender/compositor/operations/COM_ColorExposureOperation.cc | |
parent | a808c5ae65e8a9fd2271274cbba3038846e5ffee (diff) |
Cleanup: Use `_` suffix for non-public members in Compositor
To follow the style guide.
Diffstat (limited to 'source/blender/compositor/operations/COM_ColorExposureOperation.cc')
-rw-r--r-- | source/blender/compositor/operations/COM_ColorExposureOperation.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/compositor/operations/COM_ColorExposureOperation.cc b/source/blender/compositor/operations/COM_ColorExposureOperation.cc index 7886f2a619f..f0e6abe67f9 100644 --- a/source/blender/compositor/operations/COM_ColorExposureOperation.cc +++ b/source/blender/compositor/operations/COM_ColorExposureOperation.cc @@ -25,14 +25,14 @@ ExposureOperation::ExposureOperation() this->addInputSocket(DataType::Color); this->addInputSocket(DataType::Value); this->addOutputSocket(DataType::Color); - m_inputProgram = nullptr; + inputProgram_ = nullptr; flags.can_be_constant = true; } void ExposureOperation::initExecution() { - m_inputProgram = this->getInputSocketReader(0); - m_inputExposureProgram = this->getInputSocketReader(1); + inputProgram_ = this->getInputSocketReader(0); + inputExposureProgram_ = this->getInputSocketReader(1); } void ExposureOperation::executePixelSampled(float output[4], @@ -42,8 +42,8 @@ void ExposureOperation::executePixelSampled(float output[4], { float inputValue[4]; float inputExposure[4]; - m_inputProgram->readSampled(inputValue, x, y, sampler); - m_inputExposureProgram->readSampled(inputExposure, x, y, sampler); + inputProgram_->readSampled(inputValue, x, y, sampler); + inputExposureProgram_->readSampled(inputExposure, x, y, sampler); const float exposure = pow(2, inputExposure[0]); output[0] = inputValue[0] * exposure; @@ -68,8 +68,8 @@ void ExposureOperation::update_memory_buffer_row(PixelCursor &p) void ExposureOperation::deinitExecution() { - m_inputProgram = nullptr; - m_inputExposureProgram = nullptr; + inputProgram_ = nullptr; + inputExposureProgram_ = nullptr; } } // namespace blender::compositor |