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

> 描述多重取樣 2D 紋理中可供深度樣板檢視存取的子資源。

描述多重取樣 2D 紋理中可供深度樣板檢視存取的子資源。

## 語法

```cpp theme={null}
typedef struct D3D12_TEX2DMS_DSV
{
    UINT UnusedField_NothingToDefine;
} D3D12_TEX2DMS_DSV
```

### 成員

*UnusedField\_NothingToDefine*\
類型：UINT

未使用。

## 備註

此結構是 [D3D12\_DEPTH\_STENCIL\_VIEW\_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_depth_stencil_view_desc_public) 結構的成員。

由於多重取樣 2D 紋理只包含單一子資源，因此 **D3D12\_TEX2DMS\_DSV** 中沒有任何需要指定的項目。因此，會包含 **UnusedField\_NothingToDefine**，讓此結構能夠以 C 編譯。

## 需求

**標頭:** 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

- [D3D12_DEPTH_STENCIL_VIEW_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_depth_stencil_view_desc_public.md)
- [D3D12_TEX2DMS_ARRAY_DSV](/zh-TW/reference/graphics/d3d12/structs/d3d12_tex2dms_array_dsv_public.md)
- [D3D12_TEX2DMS_RTV](/zh-TW/reference/graphics/d3d12/structs/d3d12_tex2dms_rtv_public.md)
- [D3D12_TEX2DMS_SRV](/zh-TW/reference/graphics/d3d12/structs/d3d12_tex2dms_srv_public.md)
- [D3D12_TEX2D_DSV](/zh-TW/reference/graphics/d3d12/structs/d3d12_tex2d_dsv_public.md)
