makeCounterHeap(descriptor:)
Creates a new counter heap configured from a counter heap descriptor.
Declaration
func makeCounterHeap(descriptor: MTL4CounterHeapDescriptor) throws -> any MTL4CounterHeapParameters
- descriptor:
Mtl4counterheapdescriptor instance that configures the Mtl4counterheap instance.
Return Value
A MTL4CounterHeap instance, or nil if the function failed.