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(
    UInt32 space,
    UInt32 binding,
    SharedPtr<ISampler> sampler) noexcept;

Return Value

The initialized pipeline binding hint.

Parameters

NameDescription
spaceThe descriptor space of the binding point.
bindingThe register of the descriptor binding point.
samplerThe sampler state used to initialize the static sampler with.