Развернуть Свернуть

D3D10DDIRESOURCE_TYPE enumeration

The D3D10DDIRESOURCE_TYPE enumeration type contains values that identify a type of resource.

Syntax


typedef enum D3D10DDIRESOURCE_TYPE { 
  D3D10DDIRESOURCE_BUFFER       = 1,
  D3D10DDIRESOURCE_TEXTURE1D    = 2,
  D3D10DDIRESOURCE_TEXTURE2D    = 3,
  D3D10DDIRESOURCE_TEXTURE3D    = 4,
  D3D10DDIRESOURCE_TEXTURECUBE  = 5,
#if D3D11DDI_MINOR_HEADER_VERSION >= 1
  D3D11DDIRESOURCE_BUFFEREX     = 6

#endif } D3D10DDIRESOURCE_TYPE;

Constants

D3D10DDIRESOURCE_BUFFER

The resource is a buffer.

D3D10DDIRESOURCE_TEXTURE1D

The resource is a one-dimensional (1-D) texture.

D3D10DDIRESOURCE_TEXTURE2D

The resource is a two-dimensional (2-D) texture.

D3D10DDIRESOURCE_TEXTURE3D

The resource is a three-dimensional (3-D) texture.

D3D10DDIRESOURCE_TEXTURECUBE

The resource is a cube texture.

D3D11DDIRESOURCE_BUFFEREX

Supported in Windows 7 and later versions.

The resource is an expanded buffer.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3d10umddi.h (include D3d10umddi.h)

See also

D3D10DDIARG_CREATERESOURCE

 

 

Send comments about this topic to Microsoft

Показ:
© 2014 Microsoft