ICompoundMeshData

Represents a compound mesh data structure that combines multiple meshes and their associated vertex data.

This interface is used to handle scenarios where a collection of meshes, grouped under named compounds, is operated upon as a single entity. Common operations include combining the meshes into a single one or refining them into triangular meshes.

Inheritors

Properties

Link copied to clipboard
abstract val compounds: Map<String, IMeshData>
Link copied to clipboard
abstract val vertexData: IVertexData

Functions

Link copied to clipboard
abstract fun toMeshData(): IMeshData
Link copied to clipboard

Converts the compound mesh data into a map of polygons grouped by their compound names.

Link copied to clipboard
fun ICompoundMeshData.toVertexBuffer(): VertexBuffer

Converts the compound mesh data into a single VertexBuffer for rendering.

Link copied to clipboard
Link copied to clipboard

Generates a wireframe representation of the compound mesh data.