?/TD> |
Microsoft DirectX 9.0 |
Describes the supported image file formats.
Syntax
typedef enum _D3DXIMAGE_FILEFORMAT { D3DXIFF_BMP = 0, D3DXIFF_DDS = 4, D3DXIFF_DIB = 6, D3DXIFF_JPG = 1, D3DXIFF_PNG = 3, D3DXIFF_PPM = 5, D3DXIFF_TGA = 2, D3DXIFF_FORCE_DWORD = 0x7fffffff } D3DXIMAGE_FILEFORMAT;
Constants
- D3DXIFF_BMP
Microsoft?Windows? Bitmap (BMP) file format.
- D3DXIFF_DDS
Microsoft DirectDraw?surface (DDS) file format.
- D3DXIFF_DIB
Windows device-independent bitmap (DIB) file format.
- D3DXIFF_JPG
Joint Photographics Experts Group (JPEG) compressed file format.
- D3DXIFF_PNG
Portable Network Graphics (PNG) file format.
- D3DXIFF_PPM
Portable pixmap (PPM) file format.
- D3DXIFF_TGA
Truevision (Targa, or TGA) image file format.
- D3DXIFF_FORCE_DWORD
Forces this enumeration to compile to 32 bits in size. This value is not used.
Remarks
Functions that begin with D3DXLoadxxx support all of the formats listed. Functions that begin with D3DXSavexxx support .bmp, .dds, and .dib formats.
Enumerated Type Information
Header d3dx9tex.h Minimum operating systems Windows 98