Handbook
Glossary
set-gl-context ( world -- )
Vocabulary
ui
.
gadgets
.
worlds
Inputs
world
a
world
Outputs
None
Word description
Selects an OpenGL context to be the implicit destination for subsequent GL rendering calls. This word is called automatically by the UI before drawing a
world
.
Definition
USING:
accessors
kernel
namespaces
ui.backend
;
IN:
ui.gadgets.worlds
:
set-gl-context
( world -- )
[
world
set-global
]
[
handle>>
select-gl-context
]
bi
;