Skip to content

LiteFX::Rendering::DescriptorBinding::sampler

Creates a descriptor binding for a sampler state.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, nodiscard, dllexport]] constexpr static DescriptorBinding sampler(ISampler const& sampler) noexcept;

Return Value

The descriptor binding.

Note

The return value should not be discarded.

Parameters

NameDescription
samplerThe sampler state to bind.