API Reference / @gtkx/gl / vertexArrayAttribFormat
Function: vertexArrayAttribFormat()
vertexArrayAttribFormat(
vaobj,attribindex,size,type,normalized,relativeoffset):void
Defined in: generated/commands.d.ts:6720
void glVertexArrayAttribFormat(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset)
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.
Parameters
vaobj
number
GLuint, object class vertex array
attribindex
number
GLuint
size
number
GLint
type
number
VertexAttribType
normalized
boolean
boolean
relativeoffset
number
GLuint
Returns
void