Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FRayTracingGeometrySegment
Syntax
bool bAllowDuplicateAnyHitShaderInvocation
Remarks
Any-hit shader may be invoked multiple times for the same primitive during ray traversal. Setting this to `false_ guarantees that only a single instance of any-hit shader will run per primitive, at some performance cost.