Instance Property

type

The type of data contained in a buffer.

Required.

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

var allocator: MDLMeshBufferAllocator

The allocator object that created the buffer.

Required.

var zone: MDLMeshBufferZone

The memory pool from which the buffer was created.

Required.