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.