setBuffers(_:offsets:range:)
Sets a range of buffers for the intersection functions.
Declaration
func setBuffers(_ buffers: [(any MTLBuffer)?], offsets: [Int], range: Range<Int>)Parameters
- buffers:
An array of buffers to insert into the table.
- offsets:
An array of offsets to insert into the table.
- range:
A range of indices in the function table’s buffer argument table.