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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software