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

> 描述要在著色器資源檢視中使用之多重取樣 2D 紋理中的子資源。

描述要在著色器資源檢視中使用之多重取樣 2D 紋理中的子資源。

## 語法

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

### 成員

*UnusedField\_NothingToDefine*\
類型：UINT

任何值的整數。請參閱備註。

## 備註

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

由於多重取樣 2D 紋理只包含單一子資源，因此 **D3D12\_TEX2DMS\_SRV** 中實際上沒有任何需要指定的項目。因此，會包含 **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_SHADER_RESOURCE_VIEW_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_shader_resource_view_desc_public.md)
- [D3D12_TEX2DMS_ARRAY_SRV](/zh-TW/reference/graphics/d3d12/structs/d3d12_tex2dms_array_srv_public.md)
- [D3D12_TEX2DMS_DSV](/zh-TW/reference/graphics/d3d12/structs/d3d12_tex2dms_dsv_public.md)
- [D3D12_TEX2DMS_RTV](/zh-TW/reference/graphics/d3d12/structs/d3d12_tex2dms_rtv_public.md)
- [D3D12_TEX2D_SRV](/zh-TW/reference/graphics/d3d12/structs/d3d12_tex2d_srv_public.md)
