Handbook
Glossary
get-scissor-state ( -- scissor-state: scissor-state )
Vocabulary
gpu
.
state
Inputs
None
Outputs
scissor-state
a
scissor-state
Word description
Retrieves the current GPU
scissor-state
.
See also
scissor-state
,
<scissor-state>
Definition
USING:
kernel
opengl.gl
typed
;
IN:
gpu.state
TYPED:
get-scissor-state
( -- scissor-state: scissor-state )
GL_SCISSOR_TEST
get-gl-bool
[
GL_SCISSOR_BOX
get-gl-rect
]
[
f
]
if
<scissor-state>
;