Handbook
Glossary
get-point-state ( -- point-state: point-state )
Vocabulary
gpu
.
state
Inputs
None
Outputs
point-state
a
point-state
Word description
Retrieves the current GPU
point-state
.
See also
point-state
,
<point-state>
Definition
USING:
gpu.state.private
kernel
opengl.gl
typed
;
IN:
gpu.state
TYPED:
get-point-state
( -- point-state: point-state )
GL_VERTEX_PROGRAM_POINT_SIZE
gl-enabled?
[
f
]
[
GL_POINT_SIZE
get-gl-float
]
if
GL_POINT_SPRITE_COORD_ORIGIN
get-gl-int
gl-point-sprite-origin>
GL_POINT_FADE_THRESHOLD_SIZE
get-gl-float
<point-state>
;