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

> 描述 1D 紋理陣列中要在深度樣板檢視中使用的子資源。

描述 1D 紋理陣列中要在深度樣板檢視中使用的子資源。

## 語法

```cpp theme={null}
typedef struct D3D12_TEX1D_ARRAY_DSV
{
    UINT MipSlice;
    UINT FirstArraySlice;
    UINT ArraySize;
} D3D12_TEX1D_ARRAY_DSV
```

### 成員

*MipSlice*\
類型：UINT

要使用的第一個 mipmap 層級的索引。

*FirstArraySlice*\
類型：UINT

紋理陣列中要使用的第一個紋理的索引。

*ArraySize*\
類型：UINT

要使用的紋理數目。

## 備註

將此結構與 [D3D12\_DEPTH\_STENCIL\_VIEW\_DESC](/zh-TW/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 系列

## 另請參閱

[核心結構](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_TEX1D_DSV](/zh-TW/reference/graphics/d3d12/structs/d3d12_tex1d_dsv_public.md)
- [D3D12_TEX1D_ARRAY_UAV](/zh-TW/reference/graphics/d3d12/structs/d3d12_tex1d_array_uav_public.md)
- [D3D12_TEX1D_ARRAY_RTV](/zh-TW/reference/graphics/d3d12/structs/d3d12_tex1d_array_rtv_public.md)
- [D3D12_TEX1D_ARRAY_SRV](/zh-TW/reference/graphics/d3d12/structs/d3d12_tex1d_array_srv_public.md)
