Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Passed to the TraceRay function to define the origin, direction, and extents of the ray.
Syntax
struct RayDesc
{
float3 Origin;
float TMin;
float3 Direction;
float TMax;
};
Fields
-
Origin
-
The origin of the ray.
-
TMin
-
The minimum extent of the ray.
-
Direction
-
The direction of the ray.
-
TMax
-
The maximum extent of the ray.
Requirements
See also