Creates a new SimpleVertexAttribute instance.
The semantic type of this vertex attribute (e.g., POSITION, NORMAL, TEXCOORD)
The accessor that provides access to the underlying vertex data
Gets the semantic type of this vertex attribute.
The vertex attribute semantic enum value
Retrieves a scalar value at the specified index as a single-element array.
The index of the vertex data to retrieve
Options for accessing indexed data
A single-element array containing the scalar value
Retrieves a 2-component vector value at the specified index as an array.
The index of the vertex data to retrieve
Options for accessing indexed data
A 2-element array containing the vector components [x, y]
Retrieves a 3-component vector value at the specified index as an array.
The index of the vertex data to retrieve
Options for accessing indexed data
A 3-element array containing the vector components [x, y, z]
Retrieves a 4-component vector value at the specified index as an array.
The index of the vertex data to retrieve
Options for accessing indexed data
A 4-element array containing the vector components [x, y, z, w]
A simple implementation of vertex attribute that provides access to vertex data with semantic information. This class wraps an Accessor and associates it with a specific vertex attribute semantic.