CD3D11_UNORDERED_ACCESS_VIEW_DESC::CD3D11_UNORDERED_ACCESS_VIEW_DESC function

Instantiates a new instance of a CD3D11_UNORDERED_ACCESS_VIEW_DESC structure that is initialized with D3D11_TEX1D_UAV or D3D11_TEX1D_ARRAY_UAV values.

Syntax

void CD3D11_UNORDERED_ACCESS_VIEW_DESC(
  ID3D11Texture1D     *pTex1D,
  D3D11_UAV_DIMENSION viewDimension,
  DXGI_FORMAT         format,
  UINT                mipSlice,
  UINT                firstArraySlice,
  UINT                arraySize
);

Parameters

pTex1D

A pointer to a ID3D11Texture1D interface for a 1D texture.

viewDimension

A D3D11_UAV_DIMENSION-typed value that specifies the resource type of the view.

format

A DXGI_FORMAT-typed value that specifies the viewing format.

mipSlice

The index of the mipmap level to use mip slice.

firstArraySlice

The index of the first element to use in an array of elements.

arraySize

Number of elements in the array.

Return value

None

Requirements

   
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h
Library D3D11.lib

See also

CD3D11_UNORDERED_ACCESS_VIEW_DESC