Handbook
Glossary
get-multisample-state ( -- multisample-state: multisample-state )
Vocabulary
gpu
.
state
Inputs
None
Outputs
multisample-state
a
multisample-state
Word description
Retrieves the current GPU
multisample-state
.
See also
multisample-state
,
<multisample-state>
Definition
USING:
kernel
opengl.gl
typed
;
IN:
gpu.state
TYPED:
get-multisample-state
( -- multisample-state: multisample-state )
GL_MULTISAMPLE
gl-enabled?
GL_SAMPLE_ALPHA_TO_COVERAGE
gl-enabled?
GL_SAMPLE_ALPHA_TO_ONE
gl-enabled?
GL_SAMPLE_COVERAGE
gl-enabled?
[
GL_SAMPLE_COVERAGE_VALUE
get-gl-float
GL_SAMPLE_COVERAGE_INVERT
get-gl-bool
]
[
f
f
]
if
<multisample-state>
;