Contents

type

The type of data contained in a buffer.

Declaration

var type: MDLMeshBufferType { get }

Discussion

A buffer can contain per-vertex data for one or more vertex attributes of a MDLMesh object (MDLMeshBufferType.vertex), or index data for a MDLSubmesh object (MDLMeshBufferType.index).

See Also

Inspecting a Buffer