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