Bewerken

Delen via


D3D10DDIRESOURCE_TYPE enumeration (d3d10umddi.h)

The D3D10DDIRESOURCE_TYPE enumeration identifies the type of a resource.

Syntax

typedef enum D3D10DDIRESOURCE_TYPE {
  D3D10DDIRESOURCE_BUFFER,
  D3D10DDIRESOURCE_TEXTURE1D,
  D3D10DDIRESOURCE_TEXTURE2D,
  D3D10DDIRESOURCE_TEXTURE3D,
  D3D10DDIRESOURCE_TEXTURECUBE,
  D3D11DDIRESOURCE_BUFFEREX
} ;

Constants

 
D3D10DDIRESOURCE_BUFFER
The resource is a buffer.
D3D10DDIRESOURCE_TEXTURE1D
The resource is a one-dimensional texture.
D3D10DDIRESOURCE_TEXTURE2D
The resource is a two-dimensional texture.
D3D10DDIRESOURCE_TEXTURE3D
The resource is a three-dimensional texture.
D3D10DDIRESOURCE_TEXTURECUBE
The resource is a cube texture.
D3D11DDIRESOURCE_BUFFEREX
The texture is an expanded buffer. Supported starting in Windows 7.

Requirements

Requirement Value
Minimum supported client Windows Vista
Header d3d10umddi.h

See also

D3D10DDIARG_CREATERESOURCE

D3D10DDIARG_CREATEDEPTHSTENCILVIEW

D3D10DDIARG_CREATESHADERRESOURCEVIEW

D3D11DDIARG_CREATESHADERRESOURCEVIEW

D3D11DDIARG_CREATEUNORDEREDACCESSVIEW

D3DWDDM2_0DDIARG_CREATESHADERRESOURCEVIEW

D3DWDDM2_0DDIARG_CREATEUNORDEREDACCESSVIEW