struct RayDesc

Description

Describes a ray for traversal through an acceleration structure.

Fields

Direction : vector<float, 3>

Normalized direction vector of the ray in world space.

Origin : vector<float, 3>

Starting point of the ray in world space.

TMax : float

Maximum distance along the ray to consider intersections.

TMin : float

Minimum distance along the ray to consider intersections.

Methods

  • init