Skip to content

LiteFX::Rendering::Backends::DirectX12Device::copyGlobalDescriptorHeap

Copies descriptors descriptors from a CPU-only heap, starting at source, into the global heapType heap at targetIndex.

Synopsis

Declared in <litefx/backends/dx12.hpp>

[[dllimport, dllexport]] void copyGlobalDescriptorHeap(
    DescriptorHeapType heapType,
    UInt32 targetIndex,
    D3D12_CPU_DESCRIPTOR_HANDLE source,
    UInt32 descriptors) const;

Parameters

NameDescription
heapTypeThe type of the global descriptor heap to copy the descriptors into.
targetIndexThe index of the first descriptor to copy into.
sourceThe handle of the source descriptor.
descriptorsThe number of descriptors to copy.