Skip to content

LiteFX::Rendering::Backends::VulkanDescriptorSetLayoutBuilder::withBuffer

Adds a texel buffer descriptor.

Synopsis

Declared in <litefx/rendering_builders.hpp>

template<typename TSelf>
[[nodiscard]] constexpr TSelf&& withBuffer(this 
    TSelf&& self,
    UInt32 binding,
    bool writable = false);

Return Value

Note

The return value should not be discarded.

Parameters

NameDescription
bindingThe binding point or register index of the descriptor.
writabletrue, if the buffer should be writable.