Contents

allAllocations

The residency set’s current list of resource allocations.

Declaration

var allAllocations: [any MTLAllocation] { get }

Discussion

This property is an array of resource allocations, and its elements can be an arbitrary mix of MTLBuffer, MTLTexture, and MTLHeap instances.

The residency set updates the property’s value when you call the commit() method.

See Also

Inspecting a residency set