Microsoft DirectX 8.1 (C++)

D3DXIMAGE_FILEFORMAT

Describes the supported image file formats.

typedef enum _D3DXIMAGE_FILEFORMAT
{
    D3DXIFF_BMP         = 0,
    D3DXIFF_JPG         = 1,
    D3DXIFF_TGA         = 2,
    D3DXIFF_PNG         = 3,
    D3DXIFF_DDS         = 4,
    D3DXIFF_PPM         = 5,
    D3DXIFF_DIB         = 6,
    D3DXIFF_FORCE_DWORD = 0x7fffffff

} D3DXIMAGE_FILEFORMAT;

Constants

D3DXIFF_BMP
Microsoft® Windows® bitmap file format.
D3DXIFF_JPG
Joint Photographic Experts Group compressed file.
D3DXIFF_TGA
Truevision Targa image file.
D3DXIFF_PNG
Portable Network Graphics file format.
D3DXIFF_DDS
Microsoft DirectDraw® surface file format.
D3DXIFF_PPM
Portable pixmap file format.
D3DXIFF_DIB
Windows bitmap file format.
D3DXIFF_FORCE_DWORD
Forces this enumeration to compile to 32 bits in size. This value is not used.

Requirements

  Header: Declared in D3dx8tex.h.