Function spirv_std::arch::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.