Adds an array of untracked resources to the render pass, specifying which stages need them.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
An array of resources within an argument buffer.
The number of resources in the array.
Options for describing how a graphics function uses the resources.
The render stages where the resources must be resident.
This method makes the array of resources resident for the selected stages of the render pass and ensures that it's in a format compatible with the graphics function.
Call this method before issuing any draw calls that may access the array of resources. Calling this method again, or calling
use(_:, overwrites any previously specified usage options for future draw calls within the same render command encoder.
When working with color render targets, call this method as late as possible to improve performance.