GLCLEARSTENCIL



GLCLEARSTENCIL

NAME
C SPECIFICATION
PARAMETERS
DESCRIPTION
ERRORS
ASSOCIATED GETS
SEE ALSO

NAME

glClearStencil − specify the clear value for the stencil buffer

C SPECIFICATION

void glClearStencil( GLint s )

PARAMETERS

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 $2 sup m^-^1$, where $m$ is the number of bits in the stencil buffer.

ERRORS

GL_INVALID_OPERATION is generated if glClearStencil is executed between the execution of glBegin and the corresponding execution of glEnd.

ASSOCIATED GETS

glGet with argument GL_STENCIL_CLEAR_VALUE
glGet
with argument GL_STENCIL_BITS

SEE ALSO

glClear(3G), glStencilFunc(3G), glStencilOp(3G), glStencilMask(3G)



More Linux Commands

manpages/hostname.7.html
hostname(7) - hostname resolution description (Man Page)....
Hostnames are domains, where a domain is a hierarchical, dot-separated list of subdomains; for example, the machine monet, in the Berkeley subdomain of the EDU

manpages/acosh.3.html
acosh(3) - inverse hyperbolic cosine function (Man Page)....
The acosh() function calculates the inverse hyperbolic cosine of x; that is the value whose hyperbolic cosine is x. RETURN VALUE On success, these functions ret

manpages/XtVaGetApplicationResources.3.html
XtVaGetApplicationResources(3) - obtain application resource
The XtGetApplicationResources function first uses the passed widget, which is usually an application shell, to construct a resource name and class list, Then, i

manpages/XRotateBuffers.3.html
XRotateBuffers(3) - manipulate cut and paste buffers........
The data can have embedded null characters and need not be null-terminated. The cut buffers contents can be retrieved later by any client calling XFetchBytes. X

manpages/pthread_attr_setschedpolicy.3.html
pthread_attr_setschedpolicy(3) - set/get scheduling policy a
The pthread_attr_setschedpolicy() function sets the scheduling policy attribute of the thread attributes object referred to by attr to the value specified in po

manpages/icmp.7.html
icmp(7) - Linux IPv4 ICMP kernel module. - Linux man page...
This kernel protocol module implements the Internet Control Message Protocol defined in RFC 792. It is used to signal error conditions and for diagnosis. The us

manpages/ldap_init_fd.3.html
ldap_init_fd(3) - Initialize the LDAP library and open a con
ldap_open() opens a connection to an LDAP server and allocates an LDAP structure which is used to identify the connection and to maintain per-connection informa

manpages/setvbuf.3.html
setvbuf(3) - stream buffering operations - Linux man page...
The three types of buffering available are unbuffered, block buffered, and line buffered. When an output stream is unbuffered, information appears on the destin

manpages/utmpx.5.html
utmpx(5) - login records (File formats - Linux man page)....
The utmp file allows one to discover information about who is currently using the system. There may be more users currently using the system, because not all pr

manpages/gluBeginSurface.3gl.html
gluBeginSurface(3gl) - delimit a NURBS surface definition...
Use gluBeginSurface to mark the beginning of a NURBS surface definition. After calling gluBeginSurface, make one or more calls to gluNurbsSurface to define the

manpages/ripemd160.1ssl.html
ripemd160(1ssl) message digests (Commands - Linux man page)
The digest functions output the message digest of a supplied file or files in hexadecimal. The digest functions also generate and verify digital signatures usin

manpages/w3m.1.html
w3m(1) - a text based Web browser and pager - Linux man page
w3m is a World Wide Web (WWW) text based client. It has English and Japanese help files and an option menu and can be configured to use either language. It will





We can't live, work or learn in freedom unless the software we use is free.