CurrentRayTimeNV(3)

Name

CurrentRayTimeNV - Time value of a ray intersection

Description

CurrentRayTimeNV

A variable decorated with the CurrentRayTimeNV decoration contains the time value passed in to OpTraceRayMotionNV which called this shader.

Valid Usage
  • VUID-CurrentRayTimeNV-CurrentRayTimeNV-04942
    The CurrentRayTimeNV decoration must be used only within the IntersectionKHR, AnyHitKHR, ClosestHitKHR, or MissKHR Execution Model

  • VUID-CurrentRayTimeNV-CurrentRayTimeNV-04943
    The variable decorated with CurrentRayTimeNV must be declared using the Input Storage Class

  • VUID-CurrentRayTimeNV-CurrentRayTimeNV-04944
    The variable decorated with CurrentRayTimeNV must be declared as a scalar 32-bit floating-point value

See Also

No cross-references are available

Document Notes

For more information, see the Vulkan Specification (NOTE: cannot determine Specification page containing this refpage).

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.