fglClearStencil(3G) OpenGL Reference fglClearStencil(3G)NAME
fglClearStencil - specify the clear value for the stencil buffer
FORTRAN SPECIFICATION
SUBROUTINE fglClearStencil( INTEGER*4 s )
PARAMETERS
s Specifies the index used when the stencil buffer is cleared. The
initial value is 0.
DESCRIPTION
fglClearStencil specifies the index used by fglClear to clear the stencil
m
buffer. s is masked with 2 -1, where m is the number of bits in the
stencil buffer.
ERRORS
GL_INVALID_OPERATION is generated if fglClearStencil is executed between
the execution of fglBegin and the corresponding execution of fglEnd.
ASSOCIATED GETS
fglGet with argument GL_STENCIL_CLEAR_VALUE
fglGet with argument GL_STENCIL_BITS
SEE ALSO
fglClear, fglStencilFunc, fglStencilOp, fglStencilMask
Page 1