Skip to content

LiteFX::Rendering::DescriptorSetLayoutBuilder::withResourceHeapAccess

Adds a proxy descriptor that can be used with dynamic resource indexing.

Synopsis

Declared in <litefx/rendering_builders.hpp>

template<typename TSelf>
[[nodiscard]] constexpr TSelf&& withResourceHeapAccess(this 
    TSelf&& self,
    UInt32 binding,
    UInt32 heapSize);

Return Value

Note

The return value should not be discarded.

Parameters

NameDescription
bindingThe binding point or register index at which to create the proxy descriptor.
heapSizeThe number of descriptors to reserve for the proxy descriptor.

See Also

GraphicsDeviceFeatures::DynamicDescriptors