ObjectRayDirection

The object-space direction for the current ray. Object-space refers to the space of the current bottom-level acceleration structure.

Syntax

float3 ObjectRayDirection();

Remarks

This function can be called from the following raytracing shader types:

See also

Direct3D 12 Raytracing HLSL Reference