Structure

MPSIntersectionDistancePrimitiveIndex

An intersection result that contains the distance from the ray origin to the intersection point, and the index of the intersected primitive.

Declaration

struct MPSIntersectionDistancePrimitiveIndex