• VertexAttributeDefinition


glType: number

Supported types in webgl 1

location: number

Location index in the shader program

name: string

string name of the attribute in the shader program, commonly a_nameofmyvariable

normalized: boolean

Is the attribute normalized between (0-1)

size: number

Number of components for a given attribute Must be 1, 2, 3, or 4

For example a vec4 attribute would be 4 floats, so 4