window-resource ( resource -- resource )


Vocabulary
ui.gadgets.worlds

Inputs
resourcea disposable


Outputs
resourcea 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