setIntersectionFunctionTable(_:bufferIndex:)
Binds an intersection function table to the buffer argument table, making it callable in your Metal shaders.
Declaration
func setIntersectionFunctionTable(_ intersectionFunctionTable: (any MTLIntersectionFunctionTable)?, bufferIndex: Int)Parameters
- intersectionFunctionTable:
The Mtlintersectionfunctiontable to bind.
- bufferIndex:
The index in the buffer argument table the intersection function table binds to.