LiteFX::Rendering::Backends::VulkanDescriptorLayout::VulkanDescriptorLayout¶
Initializes a new Vulkan descriptor layout.
Synopsis¶
Declared in <litefx/backends/vulkan.hpp>
[[dllimport, dllexport]] VulkanDescriptorLayout(
DescriptorType type,
UInt32 binding,
size_t elementSize,
UInt32 descriptors = 1,
bool unbounded = false);
Parameters¶
| Name | Description |
|---|---|
| type | The type of the descriptor. |
| binding | The binding point for the descriptor. |
| elementSize | The size of the descriptor. |
| descriptors | The number of descriptors in the descriptor array. If unbounded is set, this value sets the upper limit for the array size. |
| unbounded | If set to true, the descriptor will be defined as a runtime-allocated, unbounded array. |
See Also¶
descriptors