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¶
| Name | Description |
|---|---|
| sampler | The sampler state to bind. |