Skip to content

API Reference / @gtkx/gl / vertexAttribFormat

Function: vertexAttribFormat() ​

vertexAttribFormat(attribindex, size, type, normalized, relativeoffset): void

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

void glVertexAttribFormat(GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset)

Provided by GL_VERSION_4_3. Registry note: Reuse commands from ARB_vertex_attrib_binding Also provided by the GL_ARB_vertex_attrib_binding extension.

Parameters ​

attribindex ​

number

GLuint

size ​

number

GLint

type ​

number

VertexAttribType

normalized ​

boolean

boolean

relativeoffset ​

number

GLuint

Returns ​

void