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

# D3D12XboxGetWritePointer (XBOX One 系列)

> 取得指定 CPU 描述元控制代碼的寫入指標。

取得指定 CPU 描述元控制代碼的寫入指標。

## 語法

```cpp theme={null}
void* D3D12XboxGetWritePointer(  
         const D3D12_CPU_DESCRIPTOR_HANDLE& Handle  
)  
```

### 參數

*Handle*   \
類型：D3D12\_CPU\_DESCRIPTOR\_HANDLE&

CPU 描述元控制代碼。

### 傳回值

類型：void\*

傳回指定 CPU 描述元控制代碼的寫入指標。

## 備註

不建議從傳回的指標讀取，因為傳回的記憶體是寫入合併 (write-combined) 記憶體。

## 需求

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

**程式庫:** 使用 d3d12\_x.h (內嵌函式)

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

## 另請參閱

[d3d12\_x](/zh-TW/reference/graphics/d3d12_x/d3d12_x_members)\
[D3D12XboxGetCachedReadPointer](/zh-TW/reference/graphics/d3d12_x/functions/d3d12xboxgetwritepointer)\
[D3D12\_CPU\_DESCRIPTOR\_HANDLE](https://msdn.microsoft.com/library/windows/desktop/dn859369\(v=vs.85\).aspx)


## Related topics

- [GetShapeDmaWritePointer](/zh-CN/reference/audio/shapedmacontext/functions/getshapedmawritepointer.md)
- [D3D12_DEPTH_WRITE_MASK](/zh-CN/reference/graphics/d3d12/enums/d3d12_depth_write_mask_public.md)
- [D3D12_COLOR_WRITE_ENABLE](/zh-CN/reference/graphics/d3d12/enums/d3d12_color_write_enable_public.md)
- [GetShapePcmLoopStartOrWritePointer](/zh-CN/reference/audio/shapepcmcontext/functions/getshapepcmloopstartorwritepointer.md)
- [D3D12_WRITEBUFFERIMMEDIATE_PARAMETER](/zh-CN/reference/graphics/d3d12/structs/d3d12_writebufferimmediate_parameter_public.md)
