Adds an untracked resource to the render pass.
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
A resource within an argument buffer.
Options for describing how a graphics function uses the resource.
This method makes the resource resident for the duration 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.