Bewerken

Delen via


D3D11DDIARG_CREATEUNORDEREDACCESSVIEW structure (d3d10umddi.h)

The D3D11DDIARG_CREATEUNORDEREDACCESSVIEW structure describes the unordered access view to create.

Syntax

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

Members

[in] hDrvResource

A handle to the unordered access block.

[in] Format

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

[in] ResourceDimension

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.

[in] Buffer

If ResourceDimension is set to D3D10DDIRESOURCE_BUFFER, Buffer holds a D3D11DDIARG_BUFFER_UNORDEREDACCESSVIEW structure for a buffer.

[in] Tex1D

If ResourceDimension is set to D3D10DDIRESOURCE_TEXTURE1D, Tex1D holds a D3D11DDIARG_TEX1D_UNORDEREDACCESSVIEW structure for a one-dimensional texture.

[in] Tex2D

If ResourceDimension is set to D3D10DDIRESOURCE_TEXTURE2D, Tex2D holds a D3D11DDIARG_TEX2D_UNORDEREDACCESSVIEW structure for a two-dimensional texture.

[in] Tex3D

If ResourceDimension is set to D3D10DDIRESOURCE_TEXTURE3D, Tex3D holds a D3D11DDIARG_TEX3D_UNORDEREDACCESSVIEW structure for a three-dimensional texture.

Requirements

Requirement Value
Minimum supported client Windows 7
Header d3d10umddi.h (include D3d10umddi.h)

See also

CalcPrivateShaderResourceViewSize

CreateUnorderedAccessView

D3D10DDIRESOURCE_TYPE

D3D11DDIARG_BUFFER_UNORDEREDACCESSVIEW

D3D11DDIARG_TEX1D_UNORDEREDACCESSVIEW

D3D11DDIARG_TEX2D_UNORDEREDACCESSVIEW

D3D11DDIARG_TEX3D_UNORDEREDACCESSVIEW