---
title: residencySet
framework: metalkit
role: symbol
role_heading: Instance Property
path: metalkit/mtkview/residencyset
---

# residencySet

## Declaration

```swift
var residencySet: any MTLResidencySet { get }
```

## Discussion

Discussion Get the view’s residency set. Get the view’s residency set. The residency set contains all MTLTextures created by the view. Applications should use this residency set and the residency set of the view’s underlying CAMetalLayer to ensure all required MTLTextures are resident before use.
