Share via


D3DRESOURCETYPE

This enumeration defines resource types.

typedef enum _D3DRESOURCETYPE {
  D3DRTYPE_SURFACE = 1,
  D3DRTYPE_VOLUME = 2,
  D3DRTYPE_TEXTURE = 3,
  D3DRTYPE_VOLUMETEXTURE = 4,
  D3DRTYPE_CUBETEXTURE = 5,
  D3DRTYPE_VERTEXBUFFER = 6,
  D3DRTYPE_INDEXBUFFER = 7,
  D3DRTYPE_FORCE_DWORD = 0x7fffffff
} D3DRESOURCETYPE;

Constants

  • D3DRTYPE_SURFACE
    Surface resource.
  • D3DRTYPE_VOLUME
    Volume resource.
  • D3DRTYPE_TEXTURE
    Texture resource.
  • D3DRTYPE_VOLUMETEXTURE
    Not supported in Windows CE.
  • D3DRTYPE_CUBETEXTURE
    Cube texture resource.
  • D3DRTYPE_VERTEXBUFFER
    Vertex buffer resource.
  • D3DRTYPE_INDEXBUFFER
    Index buffer resource.
  • D3DRTYPE_FORCE_DWORD
    Forces this enumeration to compile to 32 bits in size. This value is not used.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: D3d8types.h.

See Also

IDirect3DResource8::GetType

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.