Skip to content

LiteFX::Rendering::RayTracingPipelineBuilder::maxPayloadSize

Sets the maximum size for a ray payload in the pipeline. Ignored Payload Access Qualifiers are used.

Synopsis

Declared in <litefx/rendering_builders.hpp>

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

Parameters

NameDescription
maxPayloadSizeThe maximum size for ray payloads in the pipeline.