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

> 描述可供深度模板视图访问的 1D 纹理中的子资源。

描述可供深度模板视图访问的 1D 纹理中的子资源。

## 语法

```cpp theme={null}
typedef struct D3D12_TEX1D_DSV
{
    UINT MipSlice;
} D3D12_TEX1D_DSV
```

### 成员

*MipSlice*\
类型：UINT

要使用的第一个 mipmap 级别的索引。

## 备注

将此结构与 [D3D12\_DEPTH\_STENCIL\_VIEW\_DESC](/reference/graphics/d3d12/structs/d3d12_depth_stencil_view_desc_public) 结构一起使用，以将资源作为 1D 纹理进行查看。

## 要求

**头文件：** d3d12\_xs.h 或 d3d12\_x.h\
**库：** d3d12\_xs.lib 或 d3d12\_x.lib\
**支持的平台**：XBOX Series 主机和 XBOX One 系列

## 另请参阅

[Core Structures](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_TEX1D_ARRAY_DSV](/zh-CN/reference/graphics/d3d12/structs/d3d12_tex1d_array_dsv_public.md)
- [D3D12_TEX1D_UAV](/zh-CN/reference/graphics/d3d12/structs/d3d12_tex1d_uav_public.md)
- [D3D12_TEX1D_SRV](/zh-CN/reference/graphics/d3d12/structs/d3d12_tex1d_srv_public.md)
- [D3D12_TEX1D_RTV](/zh-CN/reference/graphics/d3d12/structs/d3d12_tex1d_rtv_public.md)
