Freigeben über


D3D_SRV_DIMENSION Enumeration

Values that identify the type of resource to be viewed as a shader resource.

Syntax

typedef enum D3D_SRV_DIMENSION {
  D3D_SRV_DIMENSION_UNKNOWN                = 0,
  D3D_SRV_DIMENSION_BUFFER                 = 1,
  D3D_SRV_DIMENSION_TEXTURE1D              = 2,
  D3D_SRV_DIMENSION_TEXTURE1DARRAY         = 3,
  D3D_SRV_DIMENSION_TEXTURE2D              = 4,
  D3D_SRV_DIMENSION_TEXTURE2DARRAY         = 5,
  D3D_SRV_DIMENSION_TEXTURE2DMS            = 6,
  D3D_SRV_DIMENSION_TEXTURE2DMSARRAY       = 7,
  D3D_SRV_DIMENSION_TEXTURE3D              = 8,
  D3D_SRV_DIMENSION_TEXTURECUBE            = 9,
  D3D_SRV_DIMENSION_TEXTURECUBEARRAY       = 10,
  D3D_SRV_DIMENSION_BUFFEREX               = 11,
  D3D10_SRV_DIMENSION_UNKNOWN              = D3D_SRV_DIMENSION_UNKNOWN,
  D3D10_SRV_DIMENSION_BUFFER               = D3D_SRV_DIMENSION_BUFFER,
  D3D10_SRV_DIMENSION_TEXTURE1D            = D3D_SRV_DIMENSION_TEXTURE1D,
  D3D10_SRV_DIMENSION_TEXTURE1DARRAY       = D3D_SRV_DIMENSION_TEXTURE1DARRAY,
  D3D10_SRV_DIMENSION_TEXTURE2D            = D3D_SRV_DIMENSION_TEXTURE2D,
  D3D10_SRV_DIMENSION_TEXTURE2DARRAY       = D3D_SRV_DIMENSION_TEXTURE2DARRAY,
  D3D10_SRV_DIMENSION_TEXTURE2DMS          = D3D_SRV_DIMENSION_TEXTURE2DMS,
  D3D10_SRV_DIMENSION_TEXTURE2DMSARRAY     = D3D_SRV_DIMENSION_TEXTURE2DMSARRAY,
  D3D10_SRV_DIMENSION_TEXTURE3D            = D3D_SRV_DIMENSION_TEXTURE3D,
  D3D10_SRV_DIMENSION_TEXTURECUBE          = D3D_SRV_DIMENSION_TEXTURECUBE,
  D3D10_1_SRV_DIMENSION_UNKNOWN            = D3D_SRV_DIMENSION_UNKNOWN,
  D3D10_1_SRV_DIMENSION_BUFFER             = D3D_SRV_DIMENSION_BUFFER,
  D3D10_1_SRV_DIMENSION_TEXTURE1D          = D3D_SRV_DIMENSION_TEXTURE1D,
  D3D10_1_SRV_DIMENSION_TEXTURE1DARRAY     = D3D_SRV_DIMENSION_TEXTURE1DARRAY,
  D3D10_1_SRV_DIMENSION_TEXTURE2D          = D3D_SRV_DIMENSION_TEXTURE2D,
  D3D10_1_SRV_DIMENSION_TEXTURE2DARRAY     = D3D_SRV_DIMENSION_TEXTURE2DARRAY,
  D3D10_1_SRV_DIMENSION_TEXTURE2DMS        = D3D_SRV_DIMENSION_TEXTURE2DMS,
  D3D10_1_SRV_DIMENSION_TEXTURE2DMSARRAY   = D3D_SRV_DIMENSION_TEXTURE2DMSARRAY,
  D3D10_1_SRV_DIMENSION_TEXTURE3D          = D3D_SRV_DIMENSION_TEXTURE3D,
  D3D10_1_SRV_DIMENSION_TEXTURECUBE        = D3D_SRV_DIMENSION_TEXTURECUBE,
  D3D10_1_SRV_DIMENSION_TEXTURECUBEARRAY   = D3D_SRV_DIMENSION_TEXTURECUBEARRAY,
  D3D11_SRV_DIMENSION_UNKNOWN              = D3D_SRV_DIMENSION_UNKNOWN,
  D3D11_SRV_DIMENSION_BUFFER               = D3D_SRV_DIMENSION_BUFFER,
  D3D11_SRV_DIMENSION_TEXTURE1D            = D3D_SRV_DIMENSION_TEXTURE1D,
  D3D11_SRV_DIMENSION_TEXTURE1DARRAY       = D3D_SRV_DIMENSION_TEXTURE1DARRAY,
  D3D11_SRV_DIMENSION_TEXTURE2D            = D3D_SRV_DIMENSION_TEXTURE2D,
  D3D11_SRV_DIMENSION_TEXTURE2DARRAY       = D3D_SRV_DIMENSION_TEXTURE2DARRAY,
  D3D11_SRV_DIMENSION_TEXTURE2DMS          = D3D_SRV_DIMENSION_TEXTURE2DMS,
  D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY     = D3D_SRV_DIMENSION_TEXTURE2DMSARRAY,
  D3D11_SRV_DIMENSION_TEXTURE3D            = D3D_SRV_DIMENSION_TEXTURE3D,
  D3D11_SRV_DIMENSION_TEXTURECUBE          = D3D_SRV_DIMENSION_TEXTURECUBE,
  D3D11_SRV_DIMENSION_TEXTURECUBEARRAY     = D3D_SRV_DIMENSION_TEXTURECUBEARRAY,
  D3D11_SRV_DIMENSION_BUFFEREX             = D3D_SRV_DIMENSION_BUFFEREX 
} D3D_SRV_DIMENSION;

Konstanten

  • D3D_SRV_DIMENSION_UNKNOWN
    The type is unknown.

  • D3D_SRV_DIMENSION_BUFFER
    The resource is a buffer.

  • D3D_SRV_DIMENSION_TEXTURE1D
    The resource is a 1D texture.

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

  • D3D_SRV_DIMENSION_TEXTURE2D
    The resource is a 2D texture.

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

  • D3D_SRV_DIMENSION_TEXTURE2DMS
    The resource is a multisampling 2D texture.

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

  • D3D_SRV_DIMENSION_TEXTURE3D
    The resource is a 3D texture.

  • D3D_SRV_DIMENSION_TEXTURECUBE
    The resource is a cube texture.

  • D3D_SRV_DIMENSION_TEXTURECUBEARRAY
    The resource is an array of cube textures.

  • D3D_SRV_DIMENSION_BUFFEREX
    The resource is an extended buffer.

  • D3D10_SRV_DIMENSION_UNKNOWN
    The type is unknown.

  • D3D10_SRV_DIMENSION_BUFFER
    The resource is a buffer.

  • D3D10_SRV_DIMENSION_TEXTURE1D
    The resource is a 1D texture.

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

  • D3D10_SRV_DIMENSION_TEXTURE2D
    The resource is a 2D texture.

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

  • D3D10_SRV_DIMENSION_TEXTURE2DMS
    The resource is a multisampling 2D texture.

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

  • D3D10_SRV_DIMENSION_TEXTURE3D
    The resource is a 3D texture.

  • D3D10_SRV_DIMENSION_TEXTURECUBE
    The resource is a cube texture.

  • 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.

  • D3D11_SRV_DIMENSION_UNKNOWN
    The type is unknown.

  • D3D11_SRV_DIMENSION_BUFFER
    The resource is a buffer.

  • D3D11_SRV_DIMENSION_TEXTURE1D
    The resource is a 1D texture.

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

  • D3D11_SRV_DIMENSION_TEXTURE2D
    The resource is a 2D texture.

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

  • D3D11_SRV_DIMENSION_TEXTURE2DMS
    The resource is a multisampling 2D texture.

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

  • D3D11_SRV_DIMENSION_TEXTURE3D
    The resource is a 3D texture.

  • D3D11_SRV_DIMENSION_TEXTURECUBE
    The resource is a cube texture.

  • D3D11_SRV_DIMENSION_TEXTURECUBEARRAY
    The resource is an array of cube textures.

  • D3D11_SRV_DIMENSION_BUFFEREX
    The resource is an extended buffer.

Hinweise

A D3D_SRV_DIMENSION-typed value is specified in the ViewDimension member of the D3D11_SHADER_RESOURCE_VIEW_DESC structure or the Dimension member of the D3D11_SHADER_INPUT_BIND_DESC structure.

Anforderungen

Header

D3DCommon.h

Siehe auch

Common Version Enumerations