Skip to content

LiteFX::Rendering::DescriptorSetLayoutBuilder::withSampler

Adds a sampler descriptor.

Synopsis

Declared in <litefx/rendering_builders.hpp>

template<typename TSelf>
[[nodiscard]] constexpr TSelf&& withSampler(this 
    TSelf&& self,
    UInt32 binding);

Return Value

Note

The return value should not be discarded.

Parameters

NameDescription
bindingThe binding point or register index of the descriptor.