WorldRayOrigin

The world-space origin of the current ray.

Syntax

float3 WorldRayOrigin();

Remarks

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

See also

Direct3D 12 Raytracing HLSL Reference