Contents

makeCounterHeap(descriptor:)

Creates a new counter heap configured from a counter heap descriptor.

Declaration

func makeCounterHeap(descriptor: MTL4CounterHeapDescriptor) throws -> any MTL4CounterHeap

Parameters

Return Value

A MTL4CounterHeap instance, or nil if the function failed.