LiteFX::Rendering::Backends::DirectX12Device::releaseGlobalDescriptors¶
Releases a manually allocated descriptor range from the descriptor heap indicated by heapType.
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
[[dllimport, dllexport]] void releaseGlobalDescriptors(
DescriptorHeapType heapType,
VirtualAllocator::Allocation&& allocation) const;
Description¶
Calling this method with an allocation that has not been allocated from the corresponding resource heap of the same device instance is undefined behavior.
Parameters¶
| Name | Description |
|---|---|
| heapType | The heap type, indicating the descriptor heap to release the descriptors from. |
| allocation | The allocation to release. |
See Also¶
allocateGlobalDescriptors(descriptors, heapType)