setOpaqueTriangleIntersectionFunction(signature:range:)
Sets a range of entries in the intersection table to point to a system-defined opaque triangle intersection function.
Declaration
func setOpaqueTriangleIntersectionFunction(signature: MTLIntersectionFunctionSignature, range: NSRange)Parameters
- signature:
The signature of the function.
- range:
A range of indices to change in the table.