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;
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;
Return Value¶
The initialized pipeline binding hint.
Parameters¶
| Name | Description |
|---|---|
| at | The binding point the hint applies to. |
| sampler | The sampler state used to initialize the static sampler with. |
| space | The descriptor space of the binding point. |
| binding | The register of the descriptor binding point. |