create-vertex-array ( -- id ) (original) (raw)

create-vertex-array ( -- id )

Vocabulary
opengl

Inputs
None

Outputs

id an integer

Word description
Wrapper for glCreateVertexArrays to handle the common case of generating a single DSA vertex array ID.

Definition

USING: opengl.gl ;

IN: opengl

: create-vertex-array ( -- id )
[ glCreateVertexArrays ] (gen-gl-object) ;