D3D11_UNORDERED_ACCESS_VIEW_DESC structure
Specifies the subresources from a resource that are accessible using an unordered-access view.
Syntax
typedef struct D3D11_UNORDERED_ACCESS_VIEW_DESC { DXGI_FORMAT Format; D3D11_UAV_DIMENSION ViewDimension; union { D3D11_BUFFER_UAV Buffer; D3D11_TEX1D_UAV Texture1D; D3D11_TEX1D_ARRAY_UAV Texture1DArray; D3D11_TEX2D_UAV Texture2D; D3D11_TEX2D_ARRAY_UAV Texture2DArray; D3D11_TEX3D_UAV Texture3D; }; } D3D11_UNORDERED_ACCESS_VIEW_DESC;
Members
- Format
-
Type: DXGI_FORMAT
-
The data format (see DXGI_FORMAT).
- ViewDimension
-
Type: D3D11_UAV_DIMENSION
-
The resource type (see D3D11_UAV_DIMENSION), which specifies how the resource will be accessed.
- Buffer
-
Type: D3D11_BUFFER_UAV
-
Specifies which buffer elements can be accessed (see D3D11_BUFFER_UAV).
- Texture1D
-
Type: D3D11_TEX1D_UAV
-
Specifies the subresources in a 1D texture that can be accessed (see D3D11_TEX1D_UAV).
- Texture1DArray
-
Type: D3D11_TEX1D_ARRAY_UAV
-
Specifies the subresources in a 1D texture array that can be accessed (see D3D11_TEX1D_ARRAY_UAV).
- Texture2D
-
Type: D3D11_TEX2D_UAV
-
Specifies the subresources in a 2D texture that can be accessed (see D3D11_TEX2D_UAV).
- Texture2DArray
-
Type: D3D11_TEX2D_ARRAY_UAV
-
Specifies the subresources in a 2D texture array that can be accessed (see D3D11_TEX2D_ARRAY_UAV).
- Texture3D
-
Type: D3D11_TEX3D_UAV
-
Specifies subresources in a 3D texture that can be accessed (see D3D11_TEX3D_UAV).
Remarks
An unordered-access-view description is passed into ID3D11Device::CreateUnorderedAccessView to create a view.
Requirements
|
Header |
|
|---|
See also