Instance Property

zone

The memory pool from which the buffer was created.

Required.

Declaration

var zone: MDLMeshBufferZone { get }

Discussion

Use the newBuffer(from:data:type:) or newBuffer(from:length:type:) method of an allocator to reserve memory in a shared pool for multiple related buffers.

See Also

Inspecting a Buffer

var allocator: MDLMeshBufferAllocator

The allocator object that created the buffer.

Required.

var type: MDLMeshBufferType

The type of data contained in a buffer.

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