LiteFX::Rendering::Backends::VulkanDevice::allocateGlobalDescriptors¶
Allocates a range of descriptors in the global descriptor heaps for the provided descriptorSet.
Synopses¶
Declared in <litefx/backends/vulkan.hpp>
Allocates a range of descriptors in the global descriptor heaps for the provided descriptorSet.
[[dllimport, nodiscard, dllexport]] virtual VirtualAllocator::Allocation allocateGlobalDescriptors(
VulkanDescriptorSet const& descriptorSet,
DescriptorHeapType heapType) const override;
Allocates a range of descriptors in the global descriptor heaps for the provided descriptorSet.
[[dllimport, nodiscard]] virtual VirtualAllocator::Allocation allocateGlobalDescriptors(
descriptor_set_type const& descriptorSet,
DescriptorHeapType heapType) const = 0;
Return Value¶
The allocation for the descriptor set at the descriptor heap indicated by heapType.
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| descriptorSet | The descriptor set containing the descriptors to update. |
| heapType | The type of the descriptor heap to allocate descriptors on. |