Skip to content

LiteFX::Rendering::PipelineBindingHint::staticSampler

Initializes a hint that binds a static sampler, if supported by the backend.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] static PipelineBindingHint staticSampler(
    DescriptorBindingPoint at,
    SharedPtr<ISampler> sampler) noexcept;

Return Value

The initialized pipeline binding hint.

Parameters

NameDescription
atThe binding point the hint applies to.
samplerThe sampler state used to initialize the static sampler with.