Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_MultilayerImageOperation.h
| Show All 10 Lines | |||||
| * | * | ||||
| * You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
| * along with this program; if not, write to the Free Software Foundation, | * along with this program; if not, write to the Free Software Foundation, | ||||
| * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||||
| * | * | ||||
| * Copyright 2011, Blender Foundation. | * Copyright 2011, Blender Foundation. | ||||
| */ | */ | ||||
| #ifndef __COM_MULTILAYERIMAGEOPERATION_H__ | #pragma once | ||||
| #define __COM_MULTILAYERIMAGEOPERATION_H__ | |||||
| #include "COM_ImageOperation.h" | #include "COM_ImageOperation.h" | ||||
| class MultilayerBaseOperation : public BaseImageOperation { | class MultilayerBaseOperation : public BaseImageOperation { | ||||
| private: | private: | ||||
| int m_passId; | int m_passId; | ||||
| int m_view; | int m_view; | ||||
| RenderLayer *m_renderlayer; | RenderLayer *m_renderlayer; | ||||
| Show All 33 Lines | |||||
| class MultilayerVectorOperation : public MultilayerBaseOperation { | class MultilayerVectorOperation : public MultilayerBaseOperation { | ||||
| public: | public: | ||||
| MultilayerVectorOperation(int passindex, int view) : MultilayerBaseOperation(passindex, view) | MultilayerVectorOperation(int passindex, int view) : MultilayerBaseOperation(passindex, view) | ||||
| { | { | ||||
| this->addOutputSocket(COM_DT_VECTOR); | this->addOutputSocket(COM_DT_VECTOR); | ||||
| } | } | ||||
| void executePixelSampled(float output[4], float x, float y, PixelSampler sampler); | void executePixelSampled(float output[4], float x, float y, PixelSampler sampler); | ||||
| }; | }; | ||||
| #endif | |||||