Contents

MTLHeapDescriptor

A configuration that customizes the behavior for a Metal memory heap.

Declaration

class MTLHeapDescriptor

Mentioned in

Overview

Create an MTLHeap by configuring an MTLHeapDescriptor instance’s properties and passing it to the makeHeap(descriptor:) method of an MTLDevice.

Each new heap inherits the descriptor’s configuration as you create it, which means you can modify and reuse a descriptor to create other heaps.

Topics

Configuring a heap

Instance Properties

See Also

Resource memory allocation and management