Handbook
Glossary
bind-gl3-state ( state -- )
Vocabulary
ui
.
render
Inputs
state
an
object
Outputs
None
Definition
USING:
accessors
kernel
opengl.gl
;
IN:
ui.render
:
bind-gl3-state
( state -- )
[
vao>>
glBindVertexArray
]
[
vbo>>
GL_ARRAY_BUFFER
swap
glBindBuffer
]
[
program>>
glUseProgram
]
tri
setup-vertex-attributes
;