0031175: Visualization - support dumping RED channel as grayscale image
[occt.git] / src / Graphic3d / Graphic3d_BufferType.hxx
index d4e7c5b..8abedb9 100644 (file)
 #define _Graphic3d_BufferType_H__
 
 //! Define buffers available for dump
-typedef enum
+enum Graphic3d_BufferType
 {
   Graphic3d_BT_RGB,   //!< color buffer without alpha component
   Graphic3d_BT_RGBA,  //!< color buffer
-  Graphic3d_BT_Depth,  //!< depth buffer
-  Graphic3d_BT_RGB_RayTraceHdrLeft //!< left view HDR color buffer for Ray-Tracing
-} Graphic3d_BufferType;
+  Graphic3d_BT_Depth, //!< depth buffer
+  Graphic3d_BT_RGB_RayTraceHdrLeft, //!< left view HDR color buffer for Ray-Tracing
+  Graphic3d_BT_Red,   //!< color buffer, red channel
+};
 
 #endif // _Graphic3d_BufferType_H__