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

gen-vertex-array ( -- id )

Vocabulary
opengl

Inputs
None

Outputs

id an integer

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

Definition

USING: opengl.gl ;

IN: opengl

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