Handbook
Glossary
window-resource ( resource -- resource )
Vocabulary
ui
.
gadgets
.
worlds
Inputs
resource
a
disposable
Outputs
resource
a
disposable
Word description
Marks
resource
to be destroyed with
dispose
when the window with the currently active OpenGL context (set by
set-gl-context
) is closed.
resource
is left unmodified at the top of the stack.
Definition
USING:
accessors
kernel
namespaces
sequences
;
IN:
ui.gadgets.worlds
:
window-resource
( resource -- resource )
dup
world
get-global
window-resources>>
push
;