Contents

residencySet

Declaration

var residencySet: any MTLResidencySet { get }

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.