Adds the resources in an array of heaps to the render pass.
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
- Xcode 9.0+
An array of heaps that contains resources within an argument buffer.
This method makes all the resources in the array of heaps resident for the duration of the render pass and ensures that they're in a format compatible with the graphics function.
Call this method before issuing any draw calls that access the resources in the array of heaps.
You may only read or sample resources within the specified heaps. This method ignores render targets (textures that specify a
render usage option) and writable textures (textures that specify a
shader usage option) within the array of heaps. To use these resources, you must call the
use method instead.