---
title: allAllocations
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlresidencyset/allallocations
---

# allAllocations

The residency set’s current list of resource allocations.

## Declaration

```swift
var allAllocations: [any MTLAllocation] { get }
```

## Discussion

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

- [label](metal/mtlresidencyset/label.md)
- [device](metal/mtlresidencyset/device.md)
- [containsAllocation(_:)](metal/mtlresidencyset/containsallocation(_:).md)
- [allocationCount](metal/mtlresidencyset/allocationcount.md)
- [allocatedSize](metal/mtlresidencyset/allocatedsize.md)
