1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-07 20:20:25 +00:00
qb64/internal/help/_gllearStencil.md

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

See Also

_GL _glClear