Skip to content

API Reference / @gtkx/gl / vertexAttribFormat

Function: vertexAttribFormat()

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

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

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

Provided by GL_VERSION_4_3.

Parameters

attribindex

number

GLuint

size

number

GLint

type

number

GLenum, group VertexAttribType

normalized

boolean

GLboolean

relativeoffset

number

GLuint

Returns

void

See

https://registry.khronos.org/OpenGL-Refpages/gl4/html/glVertexAttribFormat.xhtml

Released under the MPL-2.0 License.