> ## 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](/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-CN/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist2/methods/id3d12graphicscommandlist2_writebufferimmediate_public.md)
- [D3D12_WRITEBUFFERIMMEDIATE_MODE](/zh-CN/reference/graphics/d3d12/enums/d3d12_writebufferimmediate_mode_public.md)
- [D3D12_ROOT_PARAMETER](/zh-CN/reference/graphics/d3d12/structs/d3d12_root_parameter_public.md)
- [D3D12_ROOT_PARAMETER_TYPE](/zh-CN/reference/graphics/d3d12/enums/d3d12_root_parameter_type_public.md)
- [D3D12_ROOT_DESCRIPTOR](/zh-CN/reference/graphics/d3d12/structs/d3d12_root_descriptor_public.md)
