Skip to content

LiteFX::Rendering::PipelineBindingHint::staticSampler

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

Synopses

Declared in <litefx/rendering_api.hpp>

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

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

» more...

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

[[dllimport, dllexport]] static PipelineBindingHint staticSampler(
    UInt32 space,
    UInt32 binding,
    SharedPtr<ISampler> sampler) noexcept;

» more...

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.
spaceThe descriptor space of the binding point.
bindingThe register of the descriptor binding point.