Enumeration

MTLHeapType

The options you use to choose the heap type.

Declaration

enum MTLHeapType : Int

Topics

Specifying the Heap Type

case automatic

A heap that automatically places new resource allocations.

case placement

The app controls placement of resources on the heap.

case sparse

The heap contains sparse texture tiles.

See Also

Specifying Heap Attributes

var type: MTLHeapType

The type of heap to create.

var storageMode: MTLStorageMode

The storage mode for the heap.

var cpuCacheMode: MTLCPUCacheMode

The CPU cache mode for the heap.

var hazardTrackingMode: MTLHazardTrackingMode

The heap's hazard tracking mode.

var resourceOptions: MTLResourceOptions

The options for all the resources you create on the heap.

var size: Int

The size of the heap, in bytes.

enum MTLHazardTrackingMode

The options you use to specify the hazard tracking mode.