Optional
asThe number of components of the vertex attribute. Can be 1, 2, 3 or 4.
Optional
normalizeIf true, vertex attribute data will be mapped from a 0 to 255 range down to 0 to 1 when fed to a shader. If false, vertex attribute data is left unchanged. If this property is unspecified, false is assumed. This property is ignored when asInt is true.
The meaning of the vertex element. This is used to link the vertex data to a shader input. Can be:
If vertex data has a meaning other that one of those listed above, use the user-defined semantics: SEMANTIC_ATTR0 to SEMANTIC_ATTR15.
The data type of the attribute. Can be:
If true, vertex attribute data will be accessible as integer numbers in shader code. Defaults to false, which means that vertex attribute data will be accessible as floating point numbers. Can be only used with INT and UINT data types.