Contents

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.

Declaration

var heapOffset: Int { get }

Discussion

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

See Also

Managing heap resources