glDepthFunc¶
specify the value used for depth buffer comparisons
- arguments
-
int
$func
Specifies the depth comparison function. Symbolic constantsGL_NEVER ,GL_LESS ,GL_EQUAL ,GL_LEQUAL ,GL_GREATER ,GL_NOTEQUAL ,GL_GEQUAL , andGL_ALWAYS are accepted. The initial value isGL_LESS .
- returns
-
void
Copyright © 2010-2014 Khronos Group
This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. https://opencontent.org/openpub/.