> ## 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](/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-CN/reference/graphics/d3d12/structs/d3d12_depth_stencil_view_desc_public.md)
- [D3D12_TEX2DMS_ARRAY_DSV](/zh-CN/reference/graphics/d3d12/structs/d3d12_tex2dms_array_dsv_public.md)
- [D3D12_TEX2DMS_RTV](/zh-CN/reference/graphics/d3d12/structs/d3d12_tex2dms_rtv_public.md)
- [D3D12_TEX2DMS_SRV](/zh-CN/reference/graphics/d3d12/structs/d3d12_tex2dms_srv_public.md)
- [D3D12_TEX2D_DSV](/zh-CN/reference/graphics/d3d12/structs/d3d12_tex2d_dsv_public.md)
