glRenderBlockModeDMP Function
GL_APICALL void GL_APIENTRY glRenderBlockModeDMP(
GLenum mode
);
| Name | Description | |
|---|---|---|
| in | mode | Block mode |
Specifies the block mode for the render buffer.
Set mode to GL_RENDER_BLOCK8_MODE_DMP or GL_RENDER_BLOCK32_MODE_DMP. To use early depth tests, you must specify GL_RENDER_BLOCK32_MODE_DMP. To attach textures to the color buffer and then render them, you must specify GL_RENDER_BLOCK8_MODE_DMP.
If you draw to a single render buffer in different modes without first clearing it via glClear, you will get incorrect rendering results.
To get the current block mode, specify GL_RENDER_BLOCK_MODE_DMP to glGetIntegerv.
This function generates the following errors.
| GL_INVALID_ENUM | The mode argument was set to an invalid value. |
|---|---|
| GL_INVALID_OPERATION | This function was called without any command-list objects bound. |
CONFIDENTIAL