Skip to content

API Reference / @gtkx/gl / vertexAttribPointer

Function: vertexAttribPointer()

vertexAttribPointer(index, size, type, normalized, stride, pointer): void

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

void glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer)

Provided by GL_VERSION_2_0. Also known as glVertexAttribPointerARB.

Parameters

index

number

GLuint

size

number

GLint

type

number

VertexAttribPointerType

normalized

boolean

boolean

stride

number

GLsizei

pointer

number

GLintptr, byte offset into the bound buffer

Returns

void

Released under the MPL-2.0 License.