ID3D12Device::CopyDescriptorsSimple method

Copies descriptors from a source to a destination.

Syntax


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

Parameters

NumDescriptors [in]

Type: UINT

The number of descriptors to copy.

DestDescriptorRangeStart [in]

Type: D3D12_CPU_DESCRIPTOR_HANDLE

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

SrcDescriptorRangeStart [in]

Type: D3D12_CPU_DESCRIPTOR_HANDLE

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

DescriptorHeapsType [in]

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

Header

D3D12.h

Library

D3D12.lib

DLL

D3D12.dll

See also

ID3D12Device
Copying Descriptors

 

 

Show: