Handbook
Glossary
do-enabled ( what quot -- )
Factor handbook
»
UI framework
»
Implementing new gadgets
»
Customizing gadget appearance
»
Implementing custom drawing logic
»
OpenGL utility words
Prev:
bind-texture-unit ( id target unit -- )
Next:
do-attribs ( bits quot -- )
Vocabulary
opengl
Inputs
what
an
integer
quot
a
quotation
Outputs
None
Word description
Wraps a quotation in
glEnable
/
glDisable
calls.
Definition
USING:
kernel
opengl.gl
;
IN:
opengl
:
do-enabled
( what quot -- )
over
glEnable
dip
glDisable
;
inline