Handbook
Glossary
gl-stencil-op ( stencil-op -- op )
Vocabulary
gpu
.
state
.
private
Inputs
stencil-op
an
object
Outputs
op
an
object
Definition
USING:
combinators
gpu.state
opengl.gl
;
IN:
gpu.state.private
:
gl-stencil-op
( stencil-op -- op )
{
{
op-keep
[
GL_KEEP
]
}
{
op-zero
[
GL_ZERO
]
}
{
op-replace
[
GL_REPLACE
]
}
{
op-invert
[
GL_INVERT
]
}
{
op-inc-sat
[
GL_INCR
]
}
{
op-dec-sat
[
GL_DECR
]
}
{
op-inc-wrap
[
GL_INCR_WRAP
]
}
{
op-dec-wrap
[
GL_DECR_WRAP
]
}
}
case
;