Adds an untracked resource to the render pass, specifying which render stages need it.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
A resource within an argument buffer.
Options for describing how a graphics function uses the resource.
The render stages where the resource must be resident.
This method makes the resource 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 resource. 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.