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

# D3D12_WRITEBUFFERIMMEDIATE_PARAMETER

> 指定使用 ID3D12CommandList2::WriteBufferImmediate 寫入的立即值和目的地位址。

指定使用 [ID3D12GraphicsCommandList2::WriteBufferImmediate](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist2/methods/id3d12graphicscommandlist2_writebufferimmediate_public) 寫入的立即值和目的地位址。

## 語法

```cpp theme={null}
typedef struct D3D12_WRITEBUFFERIMMEDIATE_PARAMETER
{
    D3D12_GPU_VIRTUAL_ADDRESS Dest;
    UINT32 Value;
} D3D12_WRITEBUFFERIMMEDIATE_PARAMETER
```

### 成員

*Dest*\
類型：D3D12\_GPU\_VIRTUAL\_ADDRESS

要寫入值的 GPU 虛擬位址。位址必須對齊 32 位元 (4 位元組) 界限。

*Value*\
類型：UINT32

要寫入的 32 位元值。

## 備註

## 需求

**標頭:** d3d12\_xs.h 或 d3d12\_x.h\
**程式庫:** d3d12\_xs.lib 或 d3d12\_x.lib\
**支援的平台**: XBOX Series 主機與 XBOX One 系列

## 另請參閱

[核心結構](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)


## Related topics

- [WriteBufferImmediate](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist2/methods/id3d12graphicscommandlist2_writebufferimmediate_public.md)
- [D3D12_WRITEBUFFERIMMEDIATE_MODE](/zh-TW/reference/graphics/d3d12/enums/d3d12_writebufferimmediate_mode_public.md)
- [D3D12_ROOT_PARAMETER](/zh-TW/reference/graphics/d3d12/structs/d3d12_root_parameter_public.md)
- [D3D12_ROOT_PARAMETER_TYPE](/zh-TW/reference/graphics/d3d12/enums/d3d12_root_parameter_type_public.md)
- [D3D12_ROOT_DESCRIPTOR](/zh-TW/reference/graphics/d3d12/structs/d3d12_root_descriptor_public.md)
