Skip to content

API Reference / @gtkx/gl / genVertexArray

Function: genVertexArray() ​

genVertexArray(): number

Defined in: packages/gl/src/generated/commands.ts:10200

Returns one vertex array object name via glGenVertexArrays(1, ...).

Provided by GL_VERSION_3_0. Registry note: Reuse ARB_vertex_array_object Also provided by the GL_ARB_vertex_array_object extension.

Returns ​

number

GLuint, object class vertex array