Instance Property

capacity

The data capacity of the zone, in bytes.

Required.

Declaration

var capacity: Int { get }

Discussion

You specify the capacity of a zone when creating it with the newZone(_:) method of a concrete class implementing the MDLMeshBufferAllocator protocol.

See Also

Inspecting a Zone

var allocator: MDLMeshBufferAllocator

The allocator object that created the zone.

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