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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software