VertexAttributeDefinition
Index
Properties
Properties
glType
location
Location index in the shader program
name
string name of the attribute in the shader program, commonly a_nameofmyvariable
normalized
Is the attribute normalized between (0-1)
size
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
Supported types in webgl 1