Contents

addResidencySet(_:)

Applies a residency set to a queue, which Metal applies to the queue’s command buffers as you commit them.

Declaration

func addResidencySet(_ residencySet: any MTLResidencySet)

Parameters

Mentioned in

Discussion

Each command queue can maintain a list of up to 32 different residency sets. See Simplifying GPU resource management with residency sets and MTLResidencySet for more information.

See Also

Attaching residency sets