Skip to content

LiteFX::Rendering::Backends::DirectX12DescriptorSetLayoutBuilder::withByteAddressBuffer

Adds a byte address buffer descriptor.

Synopsis

Declared in <litefx/rendering_builders.hpp>

template<typename TSelf>
[[nodiscard]] constexpr TSelf&& withByteAddressBuffer(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.