Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_ViewerOperation.h
| Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | private: | ||||
| SocketReader *m_alphaInput; | SocketReader *m_alphaInput; | ||||
| SocketReader *m_depthInput; | SocketReader *m_depthInput; | ||||
| public: | public: | ||||
| ViewerOperation(); | ViewerOperation(); | ||||
| void initExecution() override; | void initExecution() override; | ||||
| void deinitExecution() override; | void deinitExecution() override; | ||||
| void executeRegion(rcti *rect, unsigned int tileNumber) override; | void executeRegion(rcti *rect, unsigned int tileNumber) override; | ||||
| void determineResolution(unsigned int resolution[2], | void determine_canvas(const rcti &preferred_area, rcti &r_area) override; | ||||
| unsigned int preferredResolution[2]) override; | |||||
| bool isOutputOperation(bool /*rendering*/) const override | bool isOutputOperation(bool /*rendering*/) const override | ||||
| { | { | ||||
| if (G.background) { | if (G.background) { | ||||
| return false; | return false; | ||||
| } | } | ||||
| return isActiveViewerOutput(); | return isActiveViewerOutput(); | ||||
| } | } | ||||
| void setImage(Image *image) | void setImage(Image *image) | ||||
| ▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines | |||||