Sets an array of buffers for the fragment function in a range of indices in the buffer argument table.
- iOS 8.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
An array of buffers to set in the buffer argument table.
An array of offsets, each of which specifies how far, in bytes, the data is from the start of its corresponding buffer.
A range of indices in the buffer argument table.
For buffers in the device address space, the offset must be aligned to the data type consumed by the fragment shader function (which is always less than or equal to 16 bytes).
For buffers in the constant address space, the offset must be aligned to 256 bytes in macOS. In iOS, the offset must be aligned to the maximum of either the data type consumed by the tile shader, or 4 bytes. A 16-byte alignment is safe in iOS if you don't need to consider the data type.