setOpaqueTriangleIntersectionFunction(signature:index:)
Sets an entry in the intersection table to point to a system-defined opaque triangle intersection function.
Declaration
func setOpaqueTriangleIntersectionFunction(signature: MTLIntersectionFunctionSignature, index: Int)Parameters
- signature:
The signature of the function.
- index:
The index in the table to change.