<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLResidencySetDescriptor",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(cs)MTLResidencySetDescriptor"
  },
  "title" : "MTLResidencySetDescriptor"
}
-->

# MTLResidencySetDescriptor

A configuration that customizes the behavior for a residency set.

```
class MTLResidencySetDescriptor
```

## Overview

Make an [`MTLResidencySet`](/documentation/Metal/MTLResidencySet) by creating and configuring an [`MTLResidencySetDescriptor`](/documentation/Metal/MTLResidencySetDescriptor) instance and pass it to the [`makeResidencySet(descriptor:)`](/documentation/Metal/MTLDevice/makeResidencySet(descriptor:)) method of an [`MTLDevice`](/documentation/Metal/MTLDevice) instance.

See [Simplifying GPU resource management with residency sets](/documentation/Metal/simplifying-gpu-resource-management-with-residency-sets) for more information.

## Topics

### Configuring the residency set

[`label`](/documentation/Metal/MTLResidencySetDescriptor/label)

An optional name that can help you identify a residency set you create with the descriptor.

[`initialCapacity`](/documentation/Metal/MTLResidencySetDescriptor/initialCapacity)

The number of allocations a new residency set can store without reallocating memory.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)