mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-28 11:17:47 +00:00
684 B
684 B
_glClearStencil: specify the clear value for the stencil buffer
Syntax
- : SUB _glClearStencil (BYVAL s AS LONG)
- void _glClearStencil(GLint s);
; s
Specifies the index used when the stencil buffer is cleared. The initial value is 0.
Description
_glClearStencil specifies the index used by _glClear to clear the stencil buffer. s is masked with 2m - 1, where m is the number of bits in the stencil buffer.
Use With
_glGet with argument _GL_STENCIL_CLEAR_VALUE
_glGet with argument _GL_STENCIL_BITS