Function

MPSSetHeapCacheDuration

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

Declaration

void MPSSetHeapCacheDuration(id<MTLCommandBuffer> cmdBuf, double seconds);