D3D12XBOX_UNORDERED_ACCESS_VIEW_DESC Structure

Descriptor for an unordered access view (UAV).

Syntax

typedef struct D3D12XBOX_UNORDERED_ACCESS_VIEW_DESC {
    DXGI_FORMAT Format;
    D3D12_UAV_DIMENSION ViewDimension;
    union {
        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_GPU_VIRTUAL_ADDRESS ResourceLocation;
    D3D12_GPU_VIRTUAL_ADDRESS CounterResourceLocation;
    UINT MemoryType;
} D3D12XBOX_UNORDERED_ACCESS_VIEW_DESC;  

Members

Format
The format, as a DXGI_FORMAT enumeration constant.

ViewDimension
The dimension of the view, as a D3D12_UAV_DIMENSION enumeration constant.

Buffer
The buffer, as a D3D12_BUFFER_UAV structure.

Texture1D
The 1D texture, as a D3D12_TEX1D_UAV structure.

Texture1DArray
Texture 1D array, as a D3D12_TEX1D_ARRAY_UAV structure.

Texture2D
The 2D texture, as a D3D12_TEX2D_UAV structure.

Texture2DArray
Texture 2D array, as a D3D12_TEX2D_ARRAY_UAV structure.

Texture3D
The 3D texture, as a D3D12_TEX3D_UAV structure.

ResourceLocation
The location of the resource, as a D3D12_GPU_VIRTUAL_ADDRESS (a UINT64).

CounterResourceLocation
The counter resource location, as a D3D12_GPU_VIRTUAL_ADDRESS.

MemoryType
The memory type. Reserved; use zero.

Remarks

This structure is used by ID3D12Device::CreatePlacedUnorderedAccessViewX and ID3D12Device::CreatePlacedRawUnorderedAccessViewX.

Requirements

Header: Declared in d3d12_x.h.