MPSSetHeapCacheDuration(_:_:)

Sets the timeout after which unused cached Metal heaps are released.

Declaration

func MPSSetHeapCacheDuration(_ cmdBuf: any MTLCommandBuffer, _ seconds: Double)