Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_RenderLayersProg.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_RENDERLAYERSPROG_H__ | #pragma once | ||||
| #define __COM_RENDERLAYERSPROG_H__ | |||||
| #include "BLI_listbase.h" | #include "BLI_listbase.h" | ||||
| #include "BLI_utildefines.h" | #include "BLI_utildefines.h" | ||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| #include "DNA_scene_types.h" | #include "DNA_scene_types.h" | ||||
| #include "MEM_guardedalloc.h" | #include "MEM_guardedalloc.h" | ||||
| #include "RE_pipeline.h" | #include "RE_pipeline.h" | ||||
| ▲ Show 20 Lines • Show All 116 Lines • ▼ Show 20 Lines | |||||
| class RenderLayersDepthProg : public RenderLayersProg { | class RenderLayersDepthProg : public RenderLayersProg { | ||||
| public: | public: | ||||
| RenderLayersDepthProg(const char *passName, DataType type, int elementsize) | RenderLayersDepthProg(const char *passName, DataType type, int elementsize) | ||||
| : RenderLayersProg(passName, type, elementsize) | : RenderLayersProg(passName, type, elementsize) | ||||
| { | { | ||||
| } | } | ||||
| void executePixelSampled(float output[4], float x, float y, PixelSampler sampler); | void executePixelSampled(float output[4], float x, float y, PixelSampler sampler); | ||||
| }; | }; | ||||
| #endif | |||||