Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_WriteBufferOperation.h
| Show All 30 Lines | |||||
| * \ingroup Operation | * \ingroup Operation | ||||
| */ | */ | ||||
| class WriteBufferOperation : public NodeOperation { | class WriteBufferOperation : public NodeOperation { | ||||
| MemoryProxy *m_memoryProxy; | MemoryProxy *m_memoryProxy; | ||||
| bool m_single_value; /* single value stored in buffer */ | bool m_single_value; /* single value stored in buffer */ | ||||
| NodeOperation *m_input; | NodeOperation *m_input; | ||||
| public: | public: | ||||
| WriteBufferOperation(DataType datatype); | WriteBufferOperation(DataType datatype, bool add_input = true); | ||||
| ~WriteBufferOperation(); | ~WriteBufferOperation(); | ||||
| MemoryProxy *getMemoryProxy() | MemoryProxy *getMemoryProxy() | ||||
| { | { | ||||
| return this->m_memoryProxy; | return this->m_memoryProxy; | ||||
| } | } | ||||
| void executePixelSampled(float output[4], float x, float y, PixelSampler sampler) override; | void executePixelSampled(float output[4], float x, float y, PixelSampler sampler) override; | ||||
| bool isSingleValue() const | bool isSingleValue() const | ||||
| { | { | ||||
| Show All 21 Lines | |||||