Handbook
Glossary
gl-comparison ( comparison -- comparison )
Vocabulary
gpu
.
state
.
private
Inputs
comparison
an
object
Outputs
comparison
an
object
Definition
USING:
combinators
gpu.state
opengl.gl
;
IN:
gpu.state.private
:
gl-comparison
( comparison -- comparison )
{
{
cmp-never
[
GL_NEVER
]
}
{
cmp-always
[
GL_ALWAYS
]
}
{
cmp-less
[
GL_LESS
]
}
{
cmp-less-equal
[
GL_LEQUAL
]
}
{
cmp-equal
[
GL_EQUAL
]
}
{
cmp-greater-equal
[
GL_GEQUAL
]
}
{
cmp-greater
[
GL_GREATER
]
}
{
cmp-not-equal
[
GL_NOTEQUAL
]
}
}
case
;