glRenderBlockModeDMP Function

Syntax

GL_APICALL void GL_APIENTRY glRenderBlockModeDMP(
     GLenum mode
);

Arguments

Name Description
in mode Block mode

Return Values

No values are returned.

Description

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_ENUMThe mode argument was set to an invalid value.
GL_INVALID_OPERATIONThis function was called without any command-list objects bound.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL