Skip to content

API Reference / @gtkx/gl / genVertexArray

Function: genVertexArray()

genVertexArray(): number

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

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

Released under the MPL-2.0 License.