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

> Describes the subresources from a resource that are accessible by using an unordered-access view.

Describes the subresources from a resource that are accessible by using an unordered-access view.

## Syntax

```cpp theme={null}
typedef struct D3D12_UNORDERED_ACCESS_VIEW_DESC
{
    DXGI_FORMAT Format;
    D3D12_UAV_DIMENSION ViewDimension;
    D3D12_BUFFER_UAV Buffer;
    D3D12_TEX1D_UAV Texture1D;
    D3D12_TEX1D_ARRAY_UAV Texture1DArray;
    D3D12_TEX2D_UAV Texture2D;
    D3D12_TEX2D_ARRAY_UAV Texture2DArray;
    D3D12_TEX3D_UAV Texture3D;
} D3D12_UNORDERED_ACCESS_VIEW_DESC
```

### Members

*Format*\
Type: DXGI\_FORMAT

A [DXGI\_FORMAT](https://learn.microsoft.com/en-us/windows/desktop/api/dxgiformat/ne-dxgiformat-dxgi_format)-typed value that specifies the viewing format.

*ViewDimension*\
Type: D3D12\_UAV\_DIMENSION

A [D3D12\_UAV\_DIMENSION](/reference/graphics/d3d12/enums/d3d12_uav_dimension_public)-typed value that specifies the resource type of the view. This type specifies how the resource will be accessed. This member also determines which \_UAV to use in the union below.

*Buffer*\
Type: D3D12\_BUFFER\_UAV

A [D3D12\_BUFFER\_UAV](/reference/graphics/d3d12/structs/d3d12_buffer_uav_public) structure that specifies which buffer elements can be accessed.

*Texture1D*\
Type: D3D12\_TEX1D\_UAV

A [D3D12\_TEX1D\_UAV](/reference/graphics/d3d12/structs/d3d12_tex1d_uav_public) structure that specifies the subresources in a 1D texture that can be accessed.

*Texture1DArray*\
Type: D3D12\_TEX1D\_ARRAY\_UAV

A [D3D12\_TEX1D\_ARRAY\_UAV](/reference/graphics/d3d12/structs/d3d12_tex1d_array_uav_public) structure that specifies the subresources in a 1D texture array that can be accessed.

*Texture2D*\
Type: D3D12\_TEX2D\_UAV

A [D3D12\_TEX2D\_UAV](/reference/graphics/d3d12/structs/d3d12_tex2d_uav_public) structure that specifies the subresources in a 2D texture that can be accessed.

*Texture2DArray*\
Type: D3D12\_TEX2D\_ARRAY\_UAV

A [D3D12\_TEX2D\_ARRAY\_UAV](/reference/graphics/d3d12/structs/d3d12_tex2d_array_uav_public) structure that specifies the subresources in a 2D texture array that can be accessed.

*Texture3D*\
Type: D3D12\_TEX3D\_UAV

A [D3D12\_TEX3D\_UAV](/reference/graphics/d3d12/structs/d3d12_tex3d_uav_public) structure that specifies subresources in a 3D texture that can be accessed.

## Remarks

Pass an unordered-access-view description into [ID3D12Device::CreateUnorderedAccessView](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_createunorderedaccessview_public) to create a view.

## 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_BUFFER_UAV](/reference/graphics/d3d12/structs/d3d12_buffer_uav_public.md)
- [D3D12_UAV_DIMENSION](/reference/graphics/d3d12/enums/d3d12_uav_dimension_public.md)
- [D3D12_TEX1D_UAV](/reference/graphics/d3d12/structs/d3d12_tex1d_uav_public.md)
- [D3D12_TEX3D_UAV](/reference/graphics/d3d12/structs/d3d12_tex3d_uav_public.md)
- [D3D12_TEX2D_UAV](/reference/graphics/d3d12/structs/d3d12_tex2d_uav_public.md)
