Instance Property

heap

The heap on which the resource is allocated, if any.

Required.

Declaration

@property(readonly) id<MTLHeap> heap;

Discussion

This value is nil if the resource isn't allocated on a heap.

See Also

Managing Heap Resources

heapOffset

The distance, in bytes, from the beginning of the heap to the first byte of the resource, if you allocated the resource on a heap.

Required.

- makeAliasable

Allows future heap resource allocations to alias against the resource’s memory.

Required.

- isAliasable

A Boolean value that indicates whether future heap resource allocations may alias against the resource’s memory.

Required.