Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <j.bakker@atmind.nl>2012-07-29 19:06:50 +0400
committerJeroen Bakker <j.bakker@atmind.nl>2012-07-29 19:06:50 +0400
commit93ff6f6dff73cf24e591dd2678ee601495714dc7 (patch)
treefb91d285b1400d26e36ad4d190aa87009c19d6a1 /source/blender/compositor/operations/COM_CompositorOperation.h
parent4ef8f3f537c7d3c10307cd7e6e1f01d644176914 (diff)
Support for depth buffers in compositor and viewer node
Support for only alpha images in compositor and viewer node
Diffstat (limited to 'source/blender/compositor/operations/COM_CompositorOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_CompositorOperation.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/compositor/operations/COM_CompositorOperation.h b/source/blender/compositor/operations/COM_CompositorOperation.h
index 23d34abbfff..491fe3eb4e4 100644
--- a/source/blender/compositor/operations/COM_CompositorOperation.h
+++ b/source/blender/compositor/operations/COM_CompositorOperation.h
@@ -42,6 +42,11 @@ private:
float *m_outputBuffer;
/**
+ * @brief reference to the output depth float buffer
+ */
+ float *m_depthBuffer;
+
+ /**
* @brief local reference to the input image operation
*/
SocketReader *m_imageInput;
@@ -50,6 +55,11 @@ private:
* @brief local reference to the input alpha operation
*/
SocketReader *m_alphaInput;
+
+ /**
+ * @brief local reference to the depth operation
+ */
+ SocketReader *m_depthInput;
public:
CompositorOperation();
void executeRegion(rcti *rect, unsigned int tileNumber);