D3D11_RTV_DIMENSION enumeration

These flags identify the type of resource that will be viewed as a render target.

Syntax

typedef enum D3D11_RTV_DIMENSION {
  D3D11_RTV_DIMENSION_UNKNOWN,
  D3D11_RTV_DIMENSION_BUFFER,
  D3D11_RTV_DIMENSION_TEXTURE1D,
  D3D11_RTV_DIMENSION_TEXTURE1DARRAY,
  D3D11_RTV_DIMENSION_TEXTURE2D,
  D3D11_RTV_DIMENSION_TEXTURE2DARRAY,
  D3D11_RTV_DIMENSION_TEXTURE2DMS,
  D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY,
  D3D11_RTV_DIMENSION_TEXTURE3D
} ;

Constants

D3D11_RTV_DIMENSION_UNKNOWN Do not use this value, as it will cause ID3D11Device::CreateRenderTargetView to fail.
D3D11_RTV_DIMENSION_BUFFER The resource will be accessed as a buffer.
D3D11_RTV_DIMENSION_TEXTURE1D The resource will be accessed as a 1D texture.
D3D11_RTV_DIMENSION_TEXTURE1DARRAY The resource will be accessed as an array of 1D textures.
D3D11_RTV_DIMENSION_TEXTURE2D The resource will be accessed as a 2D texture.
D3D11_RTV_DIMENSION_TEXTURE2DARRAY The resource will be accessed as an array of 2D textures.
D3D11_RTV_DIMENSION_TEXTURE2DMS The resource will be accessed as a 2D texture with multisampling.
D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY The resource will be accessed as an array of 2D textures with multisampling.
D3D11_RTV_DIMENSION_TEXTURE3D The resource will be accessed as a 3D texture.

Remarks

This enumeration is used in D3D11_RENDER_TARGET_VIEW_DESC to create a render-target view.

Requirements

   
Header d3d11.h

See also

Resource Enumerations