D3D11DDIARG_CREATEUNORDEREDACCESSVIEW structure

The D3D11DDIARG_CREATEUNORDEREDACCESSVIEW structure describes the unordered access view to create.

Syntax


typedef struct D3D11DDIARG_CREATEUNORDEREDACCESSVIEW {
  D3D10DDI_HRESOURCE    hDrvResource;
  DXGI_FORMAT           Format;
  D3D10DDIRESOURCE_TYPE ResourceDimension;
  union {
    D3D11DDIARG_BUFFER_UNORDEREDACCESSVIEW Buffer;
    D3D11DDIARG_TEX1D_UNORDEREDACCESSVIEW  Tex1D;
    D3D11DDIARG_TEX2D_UNORDEREDACCESSVIEW  Tex2D;
    D3D11DDIARG_TEX3D_UNORDEREDACCESSVIEW  Tex3D;
  };
} D3D11DDIARG_CREATEUNORDEREDACCESSVIEW;

Members

hDrvResource

[in] A handle to the unordered access block.

Format

[in] A DXGI_FORMAT-typed value that indicates the pixel format of the unordered access block.

ResourceDimension

[in] A D3D10DDIRESOURCE_TYPE-typed value that indicates the resource type and dimensionality of the unordered access block. The Direct3D runtime will never set ResourceDimension to D3D10DDIRESOURCE_TEXTURECUBE.

Buffer

[in] If the value in the ResourceDimension member is set to D3D10DDIRESOURCE_BUFFER, a member in the union that is contained in D3D11DDIARG_CREATEUNORDEREDACCESSVIEW that can hold a D3D11DDIARG_BUFFER_UNORDEREDACCESSVIEW structure for a buffer.

Tex1D

[in] If the value in the ResourceDimension member is set to D3D10DDIRESOURCE_TEXTURE1D, a member in the union that is contained in D3D11DDIARG_CREATEUNORDEREDACCESSVIEW that can hold a D3D11DDIARG_TEX1D_UNORDEREDACCESSVIEW structure for a one-dimensional texture.

Tex2D

[in] If the value in the ResourceDimension member is set to D3D10DDIRESOURCE_TEXTURE2D, a member in the union that is contained in D3D11DDIARG_CREATEUNORDEREDACCESSVIEW that can hold a D3D11DDIARG_TEX2D_UNORDEREDACCESSVIEW structure for a two-dimensional texture.

Tex3D

[in] If the value in the ResourceDimension member is set to D3D10DDIRESOURCE_TEXTURE3D, a member in the union that is contained in D3D11DDIARG_CREATEUNORDEREDACCESSVIEW that can hold a D3D11DDIARG_TEX3D_UNORDEREDACCESSVIEW structure for a three-dimensional texture.

Requirements

Version

D3D11DDIARG_CREATEUNORDEREDACCESSVIEW is supported beginning with the Windows 7 operating system.

Header

D3d10umddi.h (include D3d10umddi.h)

See also

CalcPrivateUnorderedAccessViewSize
CreateUnorderedAccessView
D3D11DDIARG_BUFFER_UNORDEREDACCESSVIEW
D3D11DDIARG_TEX1D_UNORDEREDACCESSVIEW
D3D11DDIARG_TEX2D_UNORDEREDACCESSVIEW
D3D11DDIARG_TEX3D_UNORDEREDACCESSVIEW
D3D10DDIRESOURCE_TYPE

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft