ReportHit
Description
Signature
bool ReportHit<A>( float tHit, uint hitKind, A attributes);
Generic Parameters
A
Parameters
tHit : float
hitKind : uint
attributes : A
Availability and Requirements
Defined for the following targets:
hlsl
Available in intersection
stage only.
glsl
Available in intersection
stage only.
spirv
Available in intersection
stage only.
Requires capability: spvRayTracingKHR
.