D3D11_UNORDERED_ACCESS_VIEW_DESC1 structure
Describes the subresources from a resource that are accessible using an unordered-access view.
Syntax
typedef struct D3D11_UNORDERED_ACCESS_VIEW_DESC1 { DXGI_FORMAT Format; D3D11_UAV_DIMENSION ViewDimension; union { D3D11_BUFFER_UAV Buffer; D3D11_TEX1D_UAV Texture1D; D3D11_TEX1D_ARRAY_UAV Texture1DArray; D3D11_TEX2D_UAV1 Texture2D; D3D11_TEX2D_ARRAY_UAV1 Texture2DArray; D3D11_TEX3D_UAV Texture3D; }; } D3D11_UNORDERED_ACCESS_VIEW_DESC1;
Members
- Format
-
A DXGI_FORMAT-typed value that specifies the data format.
- ViewDimension
-
A D3D11_UAV_DIMENSION-typed value that specifies the resource type of the view. This type is the same as the resource type of the underlying resource. This member also determines which _UAV to use in the union below.
- Buffer
-
A D3D11_BUFFER_UAV structure that specifies which buffer elements can be accessed.
- Texture1D
-
A D3D11_TEX1D_UAV structure that specifies the subresources in a 1D texture that can be accessed.
- Texture1DArray
-
A D3D11_TEX1D_ARRAY_UAV structure that specifies the subresources in a 1D texture array that can be accessed.
- Texture2D
-
A D3D11_TEX2D_UAV1 structure that specifies the subresources in a 2D texture that can be accessed.
- Texture2DArray
-
A D3D11_TEX2D_ARRAY_UAV1 structure that specifies the subresources in a 2D texture array that can be accessed.
- Texture3D
-
A D3D11_TEX3D_UAV structure that specifies subresources in a 3D texture that can be accessed.
Remarks
An unordered-access-view description is passed into ID3D11Device3::CreateUnorderedAccessView1 to create a view.
Requirements
|
Header |
|
|---|
See also