GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


Manpage of GLCLEARSTENCIL

GLCLEARSTENCIL

Index
 

NAME

glClearStencil - specify the clear value for the stencil buffer

 

C SPECIFICATION

void f3glClearStencilfP( GLint fIsfP )


delim $$  

PARAMETERS

f2sfP
Specifies the index used when the stencil buffer is cleared. The initial value is 0.
 

DESCRIPTION

%f3glClearStencilfP specifies the index used by %f3glClearfP to clear the stencil buffer. f2sfP is masked with $2 sup m^-^1$, where $m$ is the number of bits in the stencil buffer.  

ERRORS

%f3GL_INVALID_OPERATIONfP is generated if %f3glClearStencilfP is executed between the execution of %f3glBeginfP and the corresponding execution of %f3glEndfP.  

ASSOCIATED GETS

%f3glGetfP with argument %f3GL_STENCIL_CLEAR_VALUEfP
%f3glGetfP with argument %f3GL_STENCIL_BITSfP  

SEE ALSO

%f3glClear(3G)fP, %f3glStencilFunc(3G)fP, %f3glStencilOp(3G)fP, %f3glStencilMask(3G)fP


 

Index

NAME
C SPECIFICATION
PARAMETERS
DESCRIPTION
ERRORS
ASSOCIATED GETS
SEE ALSO