MeshDataBuilder
A builder for MeshData.
Constructors
Types
Link copied to clipboard
data class FaceVertex( val positionIndex: Int, val texCoordIndex: Int, val normalIndex: Int)
Content copied to clipboard
Indices for a single face vertex.
Functions
Link copied to clipboard
Adds another face to the mesh.
Link copied to clipboard
Adds another normal vector to the mesh.
Adds another normal vector to the mesh.
Link copied to clipboard
Adds another texture coordinates to the mesh.
Adds another texture coordinates to the mesh.
Link copied to clipboard
Adds another vertex position to the mesh.
Adds another vertex position to the mesh.
Link copied to clipboard
Builds a container for the array buffers data related to a single mesh, without indices.