Instance Property

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.

Declaration

@property(readonly) NSUInteger heapOffset;

Discussion

If the heap is not a placement heap (MTLHeapTypePlacement), the value is always 0 and should be ignored.

See Also

Managing Heap Resources

heap

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

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.