Contents

makeHeap(descriptor:)

Creates a new GPU heap instance.

Declaration

func makeHeap(descriptor: MTLHeapDescriptor) -> (any MTLHeap)?

Parameters

Return Value

A new MTLHeap instance if the method completed successfully; otherwise nil.

Discussion

For more information about using heaps, see Memory heaps.

See Also

Working with resource heaps