COpenGL::GetDepthTestMode

BOOL GetDepthTestMode( void );

Return Value

TRUE if the depth test is enabled. FALSE if the depth test is disabled.

Remarks

Use this method function to determine whether the depth test is enabled or not. The depth test can be enabled or disabled by using the SetDepthTestMode function.

Note:The GetDepthTestMode member function uses the current OpenGL rendering context. Ensure that the current rendering context is what you intend to use. Use wglMakeCurrent or DrawBegin member functions to set the current rendering context.

See Also

OnCreate, SetDepthTestMode