Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_PixelateOperation.cc
| Show All 18 Lines | |||||
| #include "COM_PixelateOperation.h" | #include "COM_PixelateOperation.h" | ||||
| namespace blender::compositor { | namespace blender::compositor { | ||||
| PixelateOperation::PixelateOperation(DataType datatype) | PixelateOperation::PixelateOperation(DataType datatype) | ||||
| { | { | ||||
| this->addInputSocket(datatype); | this->addInputSocket(datatype); | ||||
| this->addOutputSocket(datatype); | this->addOutputSocket(datatype); | ||||
| this->setResolutionInputSocketIndex(0); | this->set_canvas_input_index(0); | ||||
| this->m_inputOperation = nullptr; | this->m_inputOperation = nullptr; | ||||
| } | } | ||||
| void PixelateOperation::initExecution() | void PixelateOperation::initExecution() | ||||
| { | { | ||||
| this->m_inputOperation = this->getInputSocketReader(0); | this->m_inputOperation = this->getInputSocketReader(0); | ||||
| } | } | ||||
| Show All 16 Lines | |||||