Skip to content

LiteFX::Rendering::Backends::DirectX12RayTracingPipelineBuilder::maxBounces

Sets the maximum number of ray bounces allowed in the pipeline.

Synopsis

Declared in <litefx/rendering_builders.hpp>

template<typename TSelf>
constexpr TSelf&& maxBounces(this 
    TSelf&& self,
    UInt32 maxRecursionDepth);

Parameters

NameDescription
maxRecursionDepthThe maximum number of ray bounces allowed in the pipeline.