> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ID3D12GraphicsCommandList::CopyMemoryToMemoryX

> ID3D12GraphicsCommandList::CopyMemoryToMemoryX (consoles de la famille XBOX One) — Copie des données d'une adresse virtuelle GPU vers une autre.

Copie des données d'une adresse virtuelle GPU vers une autre.

## Syntaxe

```cpp theme={null}
void CopyMemoryToMemoryX(  
         D3D12_GPU_VIRTUAL_ADDRESS Destination,  
         D3D12_GPU_VIRTUAL_ADDRESS Source,  
         UINT64 SizeBytes,  
         D3D12XBOX_COPY_FLAGS Flags  
)  
```

### Paramètres

*Destination*   \
Type : [D3D12\_GPU\_VIRTUAL\_ADDRESS](https://learn.microsoft.com/en-us/windows/win32/direct3d12/d3d12_gpu_virtual_address)

Adresse de destination de la copie.

*Source*   \
Type : [D3D12\_GPU\_VIRTUAL\_ADDRESS](https://learn.microsoft.com/en-us/windows/win32/direct3d12/d3d12_gpu_virtual_address)

Adresse source de la copie.

*SizeBytes*   \
Type : UINT64

Taille de la mémoire à copier, en octets.

*Flags*   \
Type : [D3D12XBOX\_COPY\_FLAGS](/fr/reference/graphics/d3d12_x/enums/d3d12xbox_copy_flags)

Combinaison d'opérations OR au niveau du bit de constantes d'énumération **D3D12XBOX\_COPY\_FLAGS** qui spécifie la façon dont la mémoire est copiée.

### Valeur de retour

Type : void

## Configuration requise

**En-tête :** d3d12\_x.h

**Bibliothèque :** d3d12\_x.lib

**Plateformes prises en charge :** famille XBOX One

## Voir aussi

[ID3D12GraphicsCommandList](/fr/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/id3d12graphicscommandlist)


## Related topics

- [ID3D12GraphicsCommandList1](/fr/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist1/id3d12graphicscommandlist1_public.md)
- [D3D12_TILE_COPY_FLAGS](/fr/reference/graphics/d3d12/enums/d3d12_tile_copy_flags_public.md)
- [CopyTiles](/fr/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_copytiles_public.md)
- [CopyBufferRegion](/fr/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_copybufferregion_public.md)
- [D3D12_CPU_DESCRIPTOR_HANDLE](/fr/reference/graphics/d3d12/structs/d3d12_cpu_descriptor_handle_public.md)
