Skip to content

LiteFX::Rendering::Backends::VulkanDescriptorSetLayoutBuilder::withDescriptor

Adds a descriptor to the descriptor set layout.

Synopsis

Declared in <litefx/rendering_builders.hpp>

template<typename TSelf>
[[nodiscard]] constexpr TSelf&& withDescriptor(this 
    TSelf&& self,
    descriptor_layout_type&& layout);

Return Value

Note

The return value should not be discarded.

Parameters

NameDescription
layoutThe descriptor layout to add.