IVertexData
Interface representing vertex data for 3D graphics. This includes attributes such as positions, texture coordinates, colors, normals, tangents, and bitangents. It provides methods to convert the data to either immutable or mutable vertex data representations.
Inheritors
Properties
Functions
Retrieves a Point instance from the vertex data at the specified indices. The indices allow access to positions, texture coordinates, colors, normals, tangents, and bitangents.
Converts the vertex data represented by the current instance into a mutable MutableVertexData object. This includes attributes such as positions, texture coordinates, colors, normals, tangents, and bitangents.
Converts the vertex data stored in the IVertexData instance to a VertexBuffer. The method iterates through the vertex attributes such as positions, normals, texture coordinates, and colors, and writes them sequentially into the provided or newly created VertexBuffer. Missing attributes are substituted with default values.
Converts the vertex data represented by the current instance into an immutable VertexData object. This includes attributes such as positions, texture coordinates, colors, normals, tangents, and bitangents.