Enumeration

MTLHeapType

The options you use to choose the heap type.

Declaration

typedef enum MTLHeapType : NSInteger {
    ...
} MTLHeapType;

Topics

Specifying the Heap Type

MTLHeapTypeAutomatic

A heap that automatically places new resource allocations.

MTLHeapTypePlacement

The app controls placement of resources on the heap.

MTLHeapTypeSparse

The heap contains sparse texture tiles.

See Also

Specifying Heap Attributes

type

The type of heap to create.

storageMode

The storage mode for the heap.

cpuCacheMode

The CPU cache mode for the heap.

hazardTrackingMode

The heap's hazard tracking mode.

resourceOptions

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

size

The size of the heap, in bytes.

MTLHazardTrackingMode

The options you use to specify the hazard tracking mode.