setFragmentIntersectionFunctionTable(_:bufferIndex:)
Assigns an intersection function table to an entry in the fragment shader argument table.
Declaration
func setFragmentIntersectionFunctionTable(_ intersectionFunctionTable: (any MTLIntersectionFunctionTable)?, bufferIndex: Int)Parameters
- intersectionFunctionTable:
An Mtlintersectionfunctiontable instance the command assigns to an entry in the fragment shader argument table for intersection function tables.
- bufferIndex:
An integer that represents the entry in the fragment shader argument table for intersection function tables that stores a record of
intersectionFunctionTable.
Discussion
By default, the intersection function table at each index is nil.