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

> Describes a unordered-access 2D texture resource. (D3D12_TEX2D_UAV)

Describes a unordered-access 2D texture resource.

## Syntax

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

### Members

*MipSlice*\
Type: UINT

The mipmap slice index.

*PlaneSlice*\
Type: UINT

The index (plane slice number) of the plane to use in the texture.

## Remarks

Use this structure with a [D3D12\_UNORDERED\_ACCESS\_VIEW\_DESC](/reference/graphics/d3d12/structs/d3d12_unordered_access_view_desc_public) structure to view the resource as a 2D texture.

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h\
**Library:** d3d12\_xs.lib or d3d12\_x.lib\
**Supported Platforms**: XBOX Series consoles and XBOX One family

## See Also

[Core Structures](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)


## Related topics

- [D3D12_UNORDERED_ACCESS_VIEW_DESC](/reference/graphics/d3d12/structs/d3d12_unordered_access_view_desc_public.md)
- [D3D12_TEX2D_ARRAY_UAV](/reference/graphics/d3d12/structs/d3d12_tex2d_array_uav_public.md)
- [D3D12_TEX2D_RTV](/reference/graphics/d3d12/structs/d3d12_tex2d_rtv_public.md)
- [D3D12_TEX2D_SRV](/reference/graphics/d3d12/structs/d3d12_tex2d_srv_public.md)
- [D3D12_TEX2D_DSV](/reference/graphics/d3d12/structs/d3d12_tex2d_dsv_public.md)
