Handbook
Glossary
<multi-vertex-array-object> ( vertex-formats program-instance -- vertex-array )
Vocabulary
gpu
.
shaders
.
private
Inputs
vertex-formats
an
object
program-instance
an
object
Outputs
vertex-array
an
object
Definition
USING:
gpu.shaders
kernel
opengl
opengl.gl
sequences
ui.gadgets.worlds
;
IN:
gpu.shaders.private
::
<multi-vertex-array-object>
( vertex-formats program-instance -- vertex-array )
gen-vertex-array
:>
handle handle
glBindVertexArray
vertex-formats
normalize-vertex-formats
program-instance
(bind-vertex-array)
handle program-instance vertex-formats
[
first
?>buffer
]
map
vertex-array-object
boa
window-resource
;
inline