ID3D12Device::CopyDescriptorsSimple method

Copies descriptors from a source to a destination.

Syntax

void CopyDescriptorsSimple(
  UINT                        NumDescriptors,
  D3D12_CPU_DESCRIPTOR_HANDLE DestDescriptorRangeStart,
  D3D12_CPU_DESCRIPTOR_HANDLE SrcDescriptorRangeStart,
  D3D12_DESCRIPTOR_HEAP_TYPE  DescriptorHeapsType
);

Parameters

NumDescriptors

Type: UINT

The number of descriptors to copy.

DestDescriptorRangeStart

Type: D3D12_CPU_DESCRIPTOR_HANDLE

A CPU_descriptor_handle that describes the destination descriptors to start to copy to.

SrcDescriptorRangeStart

Type: D3D12_CPU_DESCRIPTOR_HANDLE

A CPU_descriptor_handle that describes the source descriptors to start to copy from.

DescriptorHeapsType

Type: D3D12_DESCRIPTOR_HEAP_TYPE

The D3D12_DESCRIPTOR_HEAP_TYPE-typed value that specifies the type of descriptor heap to copy with.

Return Value

Returns nothing.

Requirements

   
Target Platform Windows
Header d3d12.h
Library D3D12.lib
DLL D3D12.dll

See Also

Copying Descriptors

ID3D12Device