LiteFX::Rendering::DescriptorSetLayoutBuilder::withSamplerHeapAccess¶
Adds a proxy descriptor that can be used with dynamic sampler indexing.
Synopsis¶
Declared in <litefx/rendering_builders.hpp>
template<typename TSelf>
[[nodiscard]] constexpr TSelf&& withSamplerHeapAccess(this
TSelf&& self,
UInt32 binding,
UInt32 heapSize);
Return Value¶
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| binding | The binding point or register index at which to create the proxy descriptor. |
| heapSize | The number of descriptors to reserve for the proxy descriptor. |
See Also¶
GraphicsDeviceFeatures::DynamicDescriptors