toVertexData

abstract fun toVertexData(): VertexData(source)

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.

Return

A VertexData instance containing the immutable representation of the vertex data.