makeIntersectionFunction(descriptor:)
Synchronously creates an object representing a ray-tracing intersection function, using the specified descriptor.
Declaration
func makeIntersectionFunction(descriptor: MTLIntersectionFunctionDescriptor) throws -> any MTLFunction