ObjectRayOrigin

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

Syntax

float3 ObjectRayOrigin();

Remarks

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

See also

Direct3D 12 Raytracing HLSL Reference