newZone(_:)
Creates a zone for related memory allocations.
Declaration
func newZone(_ capacity: Int) -> any MDLMeshBufferZoneParameters
- capacity:
The capacity of the zone to be created.
Return Value
A new memory zone.
Discussion
Objects implementing the MDLMeshBufferZone protocol describe a logical pool of memory for allocation of related buffers. The actual class of buffer zone objects vended by an allocator may be private.