1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0031175: Visualization - support dumping RED channel as grayscale image

Graphic3d_BufferType has been extended by Graphic3d_BT_Red.
This commit is contained in:
kgv
2019-11-18 14:00:01 +03:00
committed by bugmaster
parent 8f00325d73
commit 4eff0c0480
4 changed files with 18 additions and 6 deletions

View File

@@ -15,12 +15,13 @@
#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__