GlClearStencil

From QB64 Phoenix Edition Wiki
Revision as of 06:09, 30 April 2022 by SMcNeill (talk | contribs) (Created page with "'''_glClearStencil:''' specify the clear value for the stencil buffer {{PageSyntax}} :: SUB _glClearStencil (BYVAL s AS LONG) :: void '''_glClearStencil'''(GLint {{Parameter|s}}); ; s : Specifies the index used when the stencil buffer is cleared. The initial value is 0. {{PageDescription}} '''_glClearStencil''' specifies the index used by {{KW|_glClear}} to clear the stencil buffer. {{Parameter|s}} is masked with 2<sup>m</sup> - 1, where m is the nu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

_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 Template:KW to clear the stencil buffer. s is masked with 2<sup>m</sup> - 1, where m is the number of bits in the stencil buffer.


Template:PageUseWith

Template:KW with argument Template:KW

Template:KW with argument Template:KW


See also

SUB _GL Template:KW


Template:PageCopyright