A kernel that performs intersection tests between rays and geometry.


class MPSRayIntersector : MPSKernel


Instance Methods

See Also

Ray Tracing

Metal for Accelerating Ray Tracing

Use the Metal Performance Shaders ray intersector to perform ray-traced rendering.

Animating and Denoising a Raytraced Scene

Support dynamic scenes and denoising by extending your ray tracer with Metal Performance Shaders.

class MPSAccelerationStructureGroup

A group of acceleration structures.

class MPSInstanceAccelerationStructure

An acceleration structure built over instances of other acceleration structures.

class MPSTriangleAccelerationStructure

An acceleration structure built over triangles.

class MPSAccelerationStructure

The base class for data structures that are built over geometry and used to accelerate ray tracing.