LiteFX::Rendering::Backends::VulkanDescriptorSetLayoutBuilder::withConstantBuffer¶
Adds an uniform/constant buffer descriptor.
Synopsis¶
Declared in <litefx/rendering_builders.hpp>
template<typename TSelf>
[[nodiscard]] constexpr TSelf&& withConstantBuffer(this
TSelf&& self,
UInt32 binding,
UInt32 descriptorSize);
Return Value¶
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| binding | The binding point or register index of the descriptor. |
| descriptorSize | The size of a single descriptor. |