LiteFX::Rendering::Backends::VulkanDevice::allocateGlobalDescriptors¶
Allocates a descriptor range with a capacity of descriptors from the global descriptor heap indicated by heapType. This overload allocates a raw descriptor range from a global descriptor heap. It is intended for interop purposes, where external libraries need to bind resources, as well as bindless rendering using SM 6.6 dynamic resources (ResourceDescriptorHeap/SamplerDescriptorHeap).
Synopsis¶
Declared in <litefx/backends/vulkan.hpp>
[[dllimport, nodiscard, dllexport]] virtual DescriptorHeapAllocation allocateGlobalDescriptors(
VulkanDescriptorSet const& descriptorSet,
DescriptorHeapType heapType) const override;Return Value¶
A pointer to the descriptor range.
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| heapType | The global descriptor heap from which to allocate the descriptor range. |
| descriptorSet | Implements a Vulkan DescriptorSet. |
See Also¶
allocateGlobalDescriptors(const IDescriptorSet&, DescriptorHeapType)