Glbitfield GetClearValue( void );

Return Value

Method function returns the current COpenGL objectís value used for clearing OpenGL rendering context buffers.


The COpenGL object internally calls the OpenGL glClear function during the DrawBegin method function call. The SetClearValue method function can be used to specify which OpenGL buffers will be cleared by DrawBegin.

The default COpenGL object value used to clear OpenGL buffers is GL_COLOR_BUFFER_BIT.

See Also

SetClearValue, DrawBegin