spirv_std::arch

Function terminate_ray

Source
pub unsafe fn terminate_ray() -> !
Expand description

Terminates the invocation that executes it, stops the ray traversal, accepts the current hit, and invokes the closest_hit execution model (if active). This instruction is allowed only in the any_hit execution model.