Skip to content

API Reference / @gtkx/gl / createVertexArray

Function: createVertexArray()

createVertexArray(): number

Defined in: generated/commands.d.ts:7919

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

Provided by GL_VERSION_4_5. Registry note: Reuse GL_ARB_direct_state_access Also provided by the GL_ARB_direct_state_access extension. GL_ARB_direct_state_access note: Vertex Array object functions.

Returns

number

GLuint, object class vertex array

Released under the MPL-2.0 License.