RayDesc structure
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for