D3D11_RESOURCE_DIMENSION enumeration

Identifies the type of resource being used.

Syntax

typedef enum D3D11_RESOURCE_DIMENSION {
  D3D11_RESOURCE_DIMENSION_UNKNOWN,
  D3D11_RESOURCE_DIMENSION_BUFFER,
  D3D11_RESOURCE_DIMENSION_TEXTURE1D,
  D3D11_RESOURCE_DIMENSION_TEXTURE2D,
  D3D11_RESOURCE_DIMENSION_TEXTURE3D
} ;

Constants

D3D11_RESOURCE_DIMENSION_UNKNOWN Resource is of unknown type.
D3D11_RESOURCE_DIMENSION_BUFFER Resource is a buffer.
D3D11_RESOURCE_DIMENSION_TEXTURE1D Resource is a 1D texture.
D3D11_RESOURCE_DIMENSION_TEXTURE2D Resource is a 2D texture.
D3D11_RESOURCE_DIMENSION_TEXTURE3D Resource is a 3D texture.

Remarks

This enumeration is used in ID3D11Resource::GetType.

Requirements

   
Header d3d11.h

See also

Resource Enumerations