Skip to content

LiteFX::Rendering::PushConstantsLayoutBuilder::withRange

Adds a new push constants range.

Synopsis

Declared in <litefx/rendering_builders.hpp>

template<typename TSelf>
constexpr TSelf&& withRange(this 
    TSelf&& self,
    ShaderStage shaderStages,
    UInt32 offset,
    UInt32 size,
    UInt32 space,
    UInt32 binding);

Parameters

NameDescription
shaderStagesThe shader stage, for which the range is defined.
offsetThe offset of the range.
sizeThe size of the range.
spaceThe descriptor space, the range is bound to.
bindingThe binding point for the range.