> ## 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.

# FillMemoryWith64BitValueX (XBOX One 系列)

> 以指定的 64 位元值填入指定範圍的 GPU 記憶體。

以指定的 64 位元值填入指定範圍的 GPU 記憶體。

## 語法

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

### 參數

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

記憶體中要以 64 位元值填入的基底位址。

*SizeBytes*   \
類型：UINT64

要填入的記憶體大小 (以位元組為單位)。大小必須是 8 個位元組的倍數。

*Value*   \
類型：UINT64

要寫入指定記憶體範圍的 64 位元值。

*Flags*   \
類型：[D3D12XBOX\_COPY\_FLAGS](/zh-TW/reference/graphics/d3d12_x/enums/d3d12xbox_copy_flags)

控制作業的 **D3D12XBOX\_COPY\_FLAGS** 列舉常數的位元 OR 組合。目前，*Flags* 必須設定為 **D3D12XBOX\_COPY\_FLAG\_NONE**。

### 傳回值

類型：void

## 需求

**標頭:** d3d12\_x.h

\***程式庫:** d3d12\_x.lib

**支援的平台:** XBOX One 系列

## 另請參閱

[ID3D12GraphicsCommandList](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/id3d12graphicscommandlist)\
[FillMemoryWith32BitValueX](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_fillmemorywith32bitvaluex)\
[FillMemoryWith128BitValueX](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_fillmemorywith128bitvaluex)


## Related topics

- [D3D12_FILL_MODE](/zh-CN/reference/graphics/d3d12/enums/d3d12_fill_mode_public.md)
- [Répertoire des rubriques NDA : liens actifs vers Microsoft Learn](/fr-CA/nda/nda-topic-directory.md)
- [Directorio de temas NDA: enlaces activos a Microsoft Learn](/es/nda/nda-topic-directory.md)
- [NDA 토픽 디렉터리 - Microsoft Learn 라이브 링크](/ko/nda/nda-topic-directory.md)
- [Diretório de tópicos NDA: links ativos do Microsoft Learn](/pt-BR/nda/nda-topic-directory.md)
