RayCurrentTime
Description
Returns the current time value for motion blur.
Signature
float RayCurrentTime();
Return value
Time value between 0 and 1 for motion blur interpolation
Remarks
Available when motion blur extension is enabled
Availability and Requirements
Defined for the following targets:
hlsl
Available in stages: closesthit
, anyhit
, miss
, intersection
.
Requires capability: hlsl_nvapi
.
glsl
Available in stages: closesthit
, anyhit
, miss
, intersection
.
spirv
Available in stages: closesthit
, anyhit
, miss
, intersection
.
Requires capabilities: spvRayTracingMotionBlurNV
, spvRayTracingKHR
.