MeshInputs

The arrays of a C mesh builder that reads them only in build(), when the vertex and triangle counts are known whatever order they were set in: records each array's length and checks it covers them.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

The first array too short for the counts, described, or null.

Link copied to clipboard
fun triangleArray(length: Int)

Triangle indices, 3 per triangle.

Link copied to clipboard
fun vertexArray(name: String, length: Int, components: Int, strideBytes: Int, elementBytes: Int = 4)

A per-vertex array of components values each, strideBytes apart.