Handbook
Glossary
(set-stencil-mode) ( gl-face stencil-mode -- )
Vocabulary
gpu
.
state
.
private
Inputs
gl-face
an
object
stencil-mode
an
object
Outputs
None
Definition
USING:
accessors
combinators
kernel
opengl.gl
;
IN:
gpu.state.private
:
(set-stencil-mode)
( gl-face stencil-mode -- )
{
[
[
comparison>>
gl-comparison
]
[
value>>
]
[
mask>>
]
tri
glStencilFuncSeparate
]
[
[
stencil-fail-op>>
]
[
depth-fail-op>>
]
[
depth-pass-op>>
]
tri
[
gl-stencil-op
]
tri@
glStencilOpSeparate
]
}
2cleave
;