---
title: MTLResidencySetDescriptor
framework: metal
role: symbol
role_heading: Class
path: metal/mtlresidencysetdescriptor
---

# MTLResidencySetDescriptor

A configuration that customizes the behavior for a residency set.

## Declaration

```swift
class MTLResidencySetDescriptor
```

## Mentioned in

Simplifying GPU resource management with residency sets

## Overview

Overview Make an MTLResidencySet by creating and configuring an MTLResidencySetDescriptor instance and pass it to the makeResidencySet(descriptor:) method of an MTLDevice instance. See Simplifying GPU resource management with residency sets for more information.

## Topics

### Configuring the residency set

- [label](metal/mtlresidencysetdescriptor/label.md)
- [initialCapacity](metal/mtlresidencysetdescriptor/initialcapacity.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Residency sets

- [Simplifying GPU resource management with residency sets](metal/simplifying-gpu-resource-management-with-residency-sets.md)
- [MTLResidencySet](metal/mtlresidencyset.md)
