Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP , GL_ZERO , GL_REPLACE , GL_INCR , GL_INCR_WRAP , GL_DECR , GL_DECR_WRAP , and GL_INVERT . The initial value is GL_KEEP .
dpfailSpecifies the stencil action when the stencil test passes, but the depth test fails.
dpfailaccepts the same symbolic constants as
sfail. The initial value is
GL_KEEP.
dppassSpecifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled.
dppassaccepts the same symbolic constants as
sfail. The initial value is
GL_KEEP.
Sample Code ReferencesThe following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4