Instance Property

type

The type of data contained in a buffer.

Required.

Declaration

@property(nonatomic, readonly) MDLMeshBufferType type;

Discussion

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

See Also

Inspecting a Buffer

allocator

The allocator object that created the buffer.

Required.

zone

The memory pool from which the buffer was created.

Required.