glVertexAttribFormat

specify the organization of vertex arrays

Signature

glVertexAttribFormat( GLuint ( attribindex ) , GLint ( size ) , GLenum ( type ) , GLboolean ( normalized ) , GLuint ( relativeoffset ) )-> void
glVertexAttribFormat( attribindex , size , type , normalized , relativeoffset )
glVertexAttribIFormat( GLuint ( attribindex ) , GLint ( size ) , GLenum ( type ) , GLuint ( relativeoffset ) )-> void
glVertexAttribIFormat( attribindex , size , type , relativeoffset )
glVertexAttribLFormat( GLuint ( attribindex ) , GLint ( size ) , GLenum ( type ) , GLuint ( relativeoffset ) )-> void
glVertexAttribLFormat( attribindex , size , type , relativeoffset )

Parameters

VariablesDescription
attribindex
The generic vertex attribute array being described.
size
The number of values per vertex that are stored in the array.
type
The type of the data stored in the array.
normalized
The distance between elements within the buffer.
relativeoffset
The distance between elements within the buffer.