Share via


D3D10_SRV_DIMENSION1 enumeration

These flags identify the type of resource that will be viewed.

Syntax

typedef enum D3D10_SRV_DIMENSION1 { 
  D3D10_1_SRV_DIMENSION_UNKNOWN           = 0,
  D3D10_1_SRV_DIMENSION_BUFFER            = 1,
  D3D10_1_SRV_DIMENSION_TEXTURE1D         = 2,
  D3D10_1_SRV_DIMENSION_TEXTURE1DARRAY    = 3,
  D3D10_1_SRV_DIMENSION_TEXTURE2D         = 4,
  D3D10_1_SRV_DIMENSION_TEXTURE2DARRAY    = 5,
  D3D10_1_SRV_DIMENSION_TEXTURE2DMS       = 6,
  D3D10_1_SRV_DIMENSION_TEXTURE2DMSARRAY  = 7,
  D3D10_1_SRV_DIMENSION_TEXTURE3D         = 8,
  D3D10_1_SRV_DIMENSION_TEXTURECUBE       = 9,
  D3D10_1_SRV_DIMENSION_TEXTURECUBEARRAY  = 10
} D3D10_SRV_DIMENSION1;

Constants

  • D3D10_1_SRV_DIMENSION_UNKNOWN
    The type is unknown.

  • D3D10_1_SRV_DIMENSION_BUFFER
    The resource is a buffer.

  • D3D10_1_SRV_DIMENSION_TEXTURE1D
    The resource is a 1D texture.

  • D3D10_1_SRV_DIMENSION_TEXTURE1DARRAY
    The resource is an array of 1D textures.

  • D3D10_1_SRV_DIMENSION_TEXTURE2D
    The resource is a 2D texture.

  • D3D10_1_SRV_DIMENSION_TEXTURE2DARRAY
    The resource is an array of 2D textures.

  • D3D10_1_SRV_DIMENSION_TEXTURE2DMS
    The resource is a multisampling 2D texture.

  • D3D10_1_SRV_DIMENSION_TEXTURE2DMSARRAY
    The resource is an array of multisampling 2D textures.

  • D3D10_1_SRV_DIMENSION_TEXTURE3D
    The resource is a 3D texture.

  • D3D10_1_SRV_DIMENSION_TEXTURECUBE
    The resource is a cube texture.

  • D3D10_1_SRV_DIMENSION_TEXTURECUBEARRAY
    The resource is an array of cube textures.

Remarks

These flags are used by a shader-resource-view description (see D3D10_SHADER_RESOURCE_VIEW_DESC1).

This enumeration requires Windows Vista Service Pack 1.

The D3D10_SRV_DIMENSION1 enumeration is type defined in the D3D10_1.h header file as a D3D_SRV_DIMENSION enumeration, which is fully defined in the D3DCommon.h header file.


typedef D3D_SRV_DIMENSION D3D10_SRV_DIMENSION1;

Requirements

Header

D3D10_1.h

See also

Shader Enumerations

Resource Enumerations