Assimp  v3.1.1 (June 2014)
il.h File Reference

Macros

#define __il_h_
 
#define __IL_H__
 
#define CLAMP_DOUBLES   1
 
#define CLAMP_FLOATS   1
 
#define CLAMP_HALF   1
 
#define CONST_RESTRICT   const
 
#define DEPRECATED   (D) D
 
#define IL_3DC   0x070E
 
#define IL_ACTIVE_FACE   0x0E00
 
#define IL_ACTIVE_IMAGE   0x0DF4
 
#define IL_ACTIVE_LAYER   0x0DF6
 
#define IL_ACTIVE_MIPMAP   0x0DF5
 
#define IL_ALL_ATTRIB_BITS   0x000FFFFF
 
#define IL_ALPHA   0x1906
 
#define IL_ATI1N   0x0710
 
#define IL_BAD_DIMENSIONS   0x0511
 
#define IL_BGR   0x80E0
 
#define IL_BGRA   0x80E1
 
#define IL_BLIT_BLEND   0x0636
 
#define IL_BLP   0x044C
 Blizzard Texture Format - .blp extension. More...
 
#define IL_BMP   0x0420
 Microsoft Windows Bitmap - .bmp extension. More...
 
#define IL_BMP_RLE   0x0714
 
#define IL_BYTE   0x1400
 Data types Types. More...
 
#define IL_CHEAD   0x042F
 C-Style Header - .h extension. More...
 
#define IL_CHEAD_HEADER_STRING   0x0722
 
#define IL_CLAMP(x)   IL_LIMIT(x,0,1)
 
#define IL_COLOR_INDEX   0x1900
 
#define IL_COLOUR_INDEX   0x1900
 Data formats Formats. More...
 
#define IL_COMPRESS_BIT   0x00000020
 
#define IL_COMPRESS_LZO   0x0703
 
#define IL_COMPRESS_MODE   0x0700
 
#define IL_COMPRESS_NONE   0x0701
 
#define IL_COMPRESS_RLE   0x0702
 
#define IL_COMPRESS_ZLIB   0x0704
 
#define IL_COMPRESSION_HINT   0x0668
 
#define IL_CONV_PAL   0x0630
 
#define IL_COULD_NOT_OPEN_FILE   0x050A
 
#define IL_CUBEMAP_NEGATIVEX   0x00000800
 
#define IL_CUBEMAP_NEGATIVEY   0x00002000
 
#define IL_CUBEMAP_NEGATIVEZ   0x00008000
 
#define IL_CUBEMAP_POSITIVEX   0x00000400
 
#define IL_CUBEMAP_POSITIVEY   0x00001000
 
#define IL_CUBEMAP_POSITIVEZ   0x00004000
 
#define IL_CUR_IMAGE   0x0DF7
 
#define IL_CUT   0x0421
 Dr. Halo - .cut extension. More...
 
#define IL_DCX   0x0438
 ZSoft Multi-PCX - .dcx extension. More...
 
#define IL_DDS   0x0437
 DirectDraw Surface - .dds extension. More...
 
#define IL_DEFAULT_ON_FAIL   0x0632
 
#define IL_DICOM   0x044A
 Digital Imaging and Communications in Medicine (DICOM) - .dcm and .dicom extensions. More...
 
#define IL_DONT_CARE   0x0662
 
#define IL_DOOM   0x0422
 DooM walls - no specific extension. More...
 
#define IL_DOOM_FLAT   0x0423
 DooM flats - no specific extension. More...
 
#define IL_DOUBLE   0x140A
 
#define IL_DPX   0x0450
 Digital Picture Exchange - .dpx extension. More...
 
#define IL_DXT1   0x0706
 
#define IL_DXT1A   0x0711
 
#define IL_DXT2   0x0707
 
#define IL_DXT3   0x0708
 
#define IL_DXT4   0x0709
 
#define IL_DXT5   0x070A
 
#define IL_DXT_NO_COMP   0x070B
 
#define IL_DXTC_DATA_FORMAT   0x070D
 
#define IL_DXTC_FORMAT   0x0705
 
#define IL_EOF   -1
 
#define IL_EXIF   0x043A
 
#define IL_EXR   0x0442
 OpenEXR - .exr extension. More...
 
#define IL_FALSE   0
 
#define IL_FASTEST   0x0660
 
#define IL_FILE_ALREADY_EXISTS   0x050C
 
#define IL_FILE_BIT   0x00000002
 
#define IL_FILE_MODE   0x0621
 
#define IL_FILE_OVERWRITE   0x0620
 
#define IL_FILE_READ_ERROR   0x0512
 
#define IL_FILE_WRITE_ERROR   0x0512
 
#define IL_FITS   0x0449
 Flexible Image Transport System - .fit and .fits extensions. More...
 
#define IL_FLOAT   0x1406
 
#define IL_FORMAT_BIT   0x00000008
 
#define IL_FORMAT_MODE   0x0611
 
#define IL_FORMAT_NOT_SUPPORTED   0x0503
 
#define IL_FORMAT_SET   0x0610
 
#define IL_FORMAT_SPECIFIC_BIT   0x00000080
 
#define IL_FTX   0x044D
 Heavy Metal: FAKK2 Texture - .ftx extension. More...
 
#define IL_GIF   0x0436
 Graphics Interchange Format - .gif extension. More...
 
#define IL_HALF   0x140B
 
#define IL_HDR   0x043F
 Radiance High Dynamic Range - .hdr extension. More...
 
#define IL_ICNS   0x0440
 Macintosh Icon - .icns extension. More...
 
#define IL_ICO   0x0424
 Microsoft Windows Icons and Cursors - .ico and .cur extensions. More...
 
#define IL_IFF   0x0447
 Interchange File Format - .iff extension. More...
 
#define IL_ILBM   0x0426
 Amiga IFF (FORM ILBM) - .iff, .ilbm, .lbm extensions. More...
 
#define IL_ILLEGAL_FILE_VALUE   0x0507
 
#define IL_ILLEGAL_OPERATION   0x0506
 
#define IL_IMAGE_BITS_PER_PIXEL   0x0DE9
 
#define IL_IMAGE_BPC   0x0DFA
 
#define IL_IMAGE_BPP   0x0DE8
 
#define IL_IMAGE_BPP   0x0DE8
 
#define IL_IMAGE_BYTES_PER_PIXEL   0x0DE8
 
#define IL_IMAGE_CHANNELS   0x0DFF
 
#define IL_IMAGE_CUBEFLAGS   0x0DFD
 
#define IL_IMAGE_DEPTH   0x0DE6
 
#define IL_IMAGE_DURATION   0x0DF8
 
#define IL_IMAGE_FORMAT   0x0DEA
 
#define IL_IMAGE_HEIGHT   0x0DE5
 
#define IL_IMAGE_OFFX   0x0DFB
 
#define IL_IMAGE_OFFY   0x0DFC
 
#define IL_IMAGE_ORIGIN   0x0DFE
 
#define IL_IMAGE_PLANESIZE   0x0DF9
 
#define IL_IMAGE_SIZE_OF_DATA   0x0DE7
 
#define IL_IMAGE_TYPE   0x0DEB
 
#define IL_IMAGE_WIDTH   0x0DE4
 
#define IL_INT   0x1404
 
#define IL_INTERLACE_MODE   0x063A
 
#define IL_INTERNAL_ERROR   0x0504
 
#define IL_INVALID_CONVERSION   0x0510
 
#define IL_INVALID_ENUM   0x0501
 
#define IL_INVALID_EXTENSION   0x050B
 
#define IL_INVALID_FILE_HEADER   0x0508
 
#define IL_INVALID_PARAM   0x0509
 
#define IL_INVALID_VALUE   0x0505
 
#define IL_IWI   0x044B
 Call of Duty Infinity Ward Image - .iwi extension. More...
 
#define IL_JASC_PAL   0x0475
 PaintShop Pro Palette. More...
 
#define IL_JFIF   0x0425
 
#define IL_JNG   0x0435
 
#define IL_JP2   0x0441
 Jpeg 2000 - .jp2 extension. More...
 
#define IL_JPG   0x0425
 JPEG - .jpg, .jpe and .jpeg extensions. More...
 
#define IL_JPG_PROGRESSIVE   0x0725
 
#define IL_JPG_QUALITY   0x0711
 
#define IL_JPG_SAVE_FORMAT   0x0721
 
#define IL_KEEP_DXTC_DATA   0x070C
 
#define IL_LESS_MEM   0x0661
 
#define IL_LIB_EXR_ERROR   0x05E7
 
#define IL_LIB_GIF_ERROR   0x05E1
 
#define IL_LIB_JP2_ERROR   0x05E6
 
#define IL_LIB_JPEG_ERROR   0x05E2
 
#define IL_LIB_MNG_ERROR   0x05E5
 
#define IL_LIB_PNG_ERROR   0x05E3
 
#define IL_LIB_TIFF_ERROR   0x05E4
 
#define IL_LIF   0x0434
 Homeworld Texture - .lif extension. More...
 
#define IL_LIMIT(x, m, M)   (x<m?m:(x>M?M:x))
 
#define IL_LOAD_EXT   0x1F01
 
#define IL_LOADFAIL_BIT   0x00000040
 
#define IL_LUMINANCE   0x1909
 
#define IL_LUMINANCE_ALPHA   0x190A
 
#define IL_MAX_BYTE   SCHAR_MAX
 
#define IL_MAX_INT   INT_MAX
 
#define IL_MAX_QUANT_INDEXS   0x0644
 
#define IL_MAX_QUANT_INDICES   0x0644
 
#define IL_MAX_SHORT   SHRT_MAX
 
#define IL_MAX_UNSIGNED_BYTE   UCHAR_MAX
 
#define IL_MAX_UNSIGNED_INT   UINT_MAX
 
#define IL_MAX_UNSIGNED_SHORT   USHRT_MAX
 
#define IL_MDL   0x0431
 Half-Life Model Texture - .mdl extension. More...
 
#define IL_MEM_SPEED_HINT   0x0665
 
#define IL_MNG   0x0435
 Multiple-image Network Graphics - .mng extension. More...
 
#define IL_MP3   0x0452
 MPEG-1 Audio Layer 3 - .mp3 extension. More...
 
#define IL_NEU_QUANT   0x0642
 
#define IL_NEU_QUANT_SAMPLE   0x0643
 
#define IL_NO_COMPRESSION   0x0667
 
#define IL_NO_ERROR   0x0000
 
#define IL_NUM_FACES   0x0DE1
 
#define IL_NUM_IMAGES   0x0DF1
 
#define IL_NUM_LAYERS   0x0DF3
 
#define IL_NUM_MIPMAPS   0x0DF2
 
#define IL_NVIDIA_COMPRESS   0x0670
 
#define IL_ORIGIN_BIT   0x00000001
 
#define IL_ORIGIN_LOWER_LEFT   0x0601
 
#define IL_ORIGIN_MODE   0x0603
 
#define IL_ORIGIN_SET   0x0600
 
#define IL_ORIGIN_UPPER_LEFT   0x0602
 
#define IL_OUT_FORMAT_SAME   0x050D
 
#define IL_OUT_OF_MEMORY   0x0502
 
#define IL_PACKSTRUCT
 
#define IL_PAL_BGR24   0x0404
 
#define IL_PAL_BGR32   0x0405
 
#define IL_PAL_BGRA32   0x0406
 
#define IL_PAL_BIT   0x00000004
 
#define IL_PAL_NONE   0x0400
 
#define IL_PAL_RGB24   0x0401
 
#define IL_PAL_RGB32   0x0402
 
#define IL_PAL_RGBA32   0x0403
 
#define IL_PALETTE_BASE_TYPE   0x0DF0
 
#define IL_PALETTE_BPP   0x0DEE
 
#define IL_PALETTE_NUM_COLS   0x0DEF
 
#define IL_PALETTE_SIZE   0x0DED
 
#define IL_PALETTE_TYPE   0x0DEC
 
#define IL_PCD   0x0427
 Kodak PhotoCD - .pcd extension. More...
 
#define IL_PCD_PICNUM   0x0723
 
#define IL_PCX   0x0428
 ZSoft PCX - .pcx extension. More...
 
#define IL_PIC   0x0429
 PIC - .pic extension. More...
 
#define IL_PIX   0x043C
 PIX - .pix extension. More...
 
#define IL_PNG   0x042A
 Portable Network Graphics - .png extension. More...
 
#define IL_PNG_ALPHA_INDEX   0x0724
 
#define IL_PNG_AUTHNAME_STRING   0x071A
 
#define IL_PNG_DESCRIPTION_STRING   0x071C
 
#define IL_PNG_INTERLACE   0x0712
 
#define IL_PNG_TITLE_STRING   0x071B
 
#define IL_PNM   0x042B
 Portable Any Map - .pbm, .pgm, .ppm and .pnm extensions. More...
 
#define IL_PSD   0x0439
 Adobe PhotoShop - .psd extension. More...
 
#define IL_PSP   0x043B
 PaintShop Pro - .psp extension. More...
 
#define IL_PXR   0x043D
 Pixar - .pxr extension. More...
 
#define IL_QUANTIZATION_MODE   0x0640
 
#define IL_RAW   0x0430
 Raw Image Data - any extension. More...
 
#define IL_RGB   0x1907
 
#define IL_RGBA   0x1908
 
#define IL_ROT   0x044E
 Homeworld 2 - Relic Texture - .rot extension. More...
 
#define IL_RXGB   0x070F
 
#define IL_SAVE_EXT   0x1F02
 
#define IL_SAVE_INTERLACED   0x0639
 
#define IL_SEEK_CUR   1
 
#define IL_SEEK_END   2
 
#define IL_SEEK_SET   0
 
#define IL_SGI   0x042C
 Silicon Graphics - .sgi, .bw, .rgb and .rgba extensions. More...
 
#define IL_SGI_RLE   0x0715
 
#define IL_SHORT   0x1402
 
#define IL_SPHEREMAP   0x00010000
 
#define IL_SQUISH_COMPRESS   0x0671
 
#define IL_STACK_OVERFLOW   0x050E
 
#define IL_STACK_UNDERFLOW   0x050F
 
#define IL_SUB_LAYER   0x0682
 
#define IL_SUB_MIPMAP   0x0681
 
#define IL_SUB_NEXT   0x0680
 
#define IL_SUN   0x0446
 Sun Raster - .sun, .ras, .rs, .im1, .im8, .im24 and .im32 extensions. More...
 
#define IL_TEXTURE   0x044F
 Medieval II: Total War Texture - .texture extension. More...
 
#define IL_TGA   0x042D
 TrueVision Targa File - .tga, .vda, .icb and .vst extensions. More...
 
#define IL_TGA_AUTHCOMMENT_STRING   0x0719
 
#define IL_TGA_AUTHNAME_STRING   0x0718
 
#define IL_TGA_CREATE_STAMP   0x0710
 
#define IL_TGA_ID_STRING   0x0717
 
#define IL_TGA_RLE   0x0713
 
#define IL_TIF   0x042E
 Tagged Image File Format - .tif and .tiff extensions. More...
 
#define IL_TIF_AUTHNAME_STRING   0x0720
 
#define IL_TIF_DESCRIPTION_STRING   0x071D
 
#define IL_TIF_DOCUMENTNAME_STRING   0x071F
 
#define IL_TIF_HOSTCOMPUTER_STRING   0x071E
 
#define IL_TPL   0x0448
 Gamecube Texture - .tpl extension. More...
 
#define IL_TRUE   1
 
#define IL_TYPE_BIT   0x00000010
 
#define IL_TYPE_MODE   0x0613
 
#define IL_TYPE_SET   0x0612
 
#define IL_TYPE_UNKNOWN   0x0000
 
#define IL_UNKNOWN_ERROR   0x05FF
 
#define IL_UNSIGNED_BYTE   0x1401
 
#define IL_UNSIGNED_INT   0x1405
 
#define IL_UNSIGNED_SHORT   0x1403
 
#define IL_USE_COMPRESSION   0x0666
 
#define IL_USE_KEY_COLOR   0x0635
 
#define IL_USE_KEY_COLOUR   0x0635
 
#define IL_UTX   0x0451
 Unreal (and Unreal Tournament) Texture - .utx extension. More...
 
#define IL_VENDOR   0x1F00
 
#define IL_VERSION   178
 
#define IL_VERSION_1_7_8   1
 
#define IL_VERSION_NUM   0x0DE2
 
#define IL_VTF   0x0444
 Valve Texture Format - .vtf extension. More...
 
#define IL_VTF_COMP   0x0726
 
#define IL_WAL   0x0432
 Quake 2 Texture - .wal extension. More...
 
#define IL_WBMP   0x0445
 Wireless Bitmap - .wbmp extension. More...
 
#define IL_WDP   0x0443
 Microsoft HD Photo - .wdp and .hdp extension. More...
 
#define IL_WU_QUANT   0x0641
 
#define IL_XPM   0x043E
 X Pixel Map - .xpm extension. More...
 
#define ILAPI
 
#define ILAPIENTRY
 
#define ILchar   char
 
#define ilClearColor   ilClearColour
 
#define ILconst_string   char const *
 
#define ilKeyColor   ilKeyColour
 
#define ILstring   char*
 
#define imemclear(x, y)   memset(x,0,y);
 
#define RESTRICT
 

Typedefs

typedef void(ILAPIENTRYfCloseRProc) (ILHANDLE)
 
typedef void(ILAPIENTRYfCloseWProc) (ILHANDLE)
 
typedef ILboolean(ILAPIENTRYfEofProc) (ILHANDLE)
 
typedef ILint(ILAPIENTRYfGetcProc) (ILHANDLE)
 
typedef ILHANDLE(ILAPIENTRYfOpenRProc) (ILconst_string)
 
typedef ILHANDLE(ILAPIENTRYfOpenWProc) (ILconst_string)
 
typedef ILint(ILAPIENTRYfPutcProc) (ILubyte, ILHANDLE)
 
typedef ILint(ILAPIENTRYfReadProc) (void *, ILuint, ILuint, ILHANDLE)
 
typedef ILint(ILAPIENTRYfSeekRProc) (ILHANDLE, ILint, ILint)
 
typedef ILint(ILAPIENTRYfSeekWProc) (ILHANDLE, ILint, ILint)
 
typedef ILint(ILAPIENTRYfTellRProc) (ILHANDLE)
 
typedef ILint(ILAPIENTRYfTellWProc) (ILHANDLE)
 
typedef ILint(ILAPIENTRYfWriteProc) (const void *, ILuint, ILuint, ILHANDLE)
 
typedef ILenum(ILAPIENTRYIL_LOADPROC) (ILconst_string)
 
typedef ILenum(ILAPIENTRYIL_SAVEPROC) (ILconst_string)
 
typedef unsigned int ILbitfield
 
typedef unsigned char ILboolean
 
typedef signed char ILbyte
 
typedef double ILclampd
 
typedef float ILclampf
 
typedef double ILdouble
 
typedef unsigned int ILenum
 
typedef float ILfloat
 
typedef void * ILHANDLE
 
typedef int ILint
 
typedef long long int ILint64
 
typedef signed short ILshort
 
typedef size_t ILsizei
 
typedef unsigned char ILubyte
 
typedef unsigned int ILuint
 
typedef long long unsigned int ILuint64
 
typedef unsigned short ILushort
 
typedef void *(ILAPIENTRYmAlloc) (const ILsizei)
 
typedef void(ILAPIENTRYmFree) (const void *CONST_RESTRICT)
 

Functions

ILAPI ILboolean ILAPIENTRY ilActiveFace (ILuint Number)
 
ILAPI ILboolean ILAPIENTRY ilActiveImage (ILuint Number)
 
ILAPI ILboolean ILAPIENTRY ilActiveLayer (ILuint Number)
 
ILAPI ILboolean ILAPIENTRY ilActiveMipmap (ILuint Number)
 
ILAPI ILboolean ILAPIENTRY ilApplyPal (ILconst_string FileName)
 
ILAPI ILboolean ILAPIENTRY ilApplyProfile (ILstring InProfile, ILstring OutProfile)
 
ILAPI void ILAPIENTRY ilBindImage (ILuint Image)
 
ILAPI ILboolean ILAPIENTRY ilBlit (ILuint Source, ILint DestX, ILint DestY, ILint DestZ, ILuint SrcX, ILuint SrcY, ILuint SrcZ, ILuint Width, ILuint Height, ILuint Depth)
 
ILAPI ILboolean ILAPIENTRY ilClampNTSC (void)
 
ILAPI void ILAPIENTRY ilClearColour (ILclampf Red, ILclampf Green, ILclampf Blue, ILclampf Alpha)
 
ILAPI ILboolean ILAPIENTRY ilClearImage (void)
 
ILAPI ILuint ILAPIENTRY ilCloneCurImage (void)
 
ILAPI ILubyte *ILAPIENTRY ilCompressDXT (ILubyte *Data, ILuint Width, ILuint Height, ILuint Depth, ILenum DXTCFormat, ILuint *DXTCSize)
 
ILAPI ILboolean ILAPIENTRY ilCompressFunc (ILenum Mode)
 
ILAPI ILboolean ILAPIENTRY ilConvertImage (ILenum DestFormat, ILenum DestType)
 
ILAPI ILboolean ILAPIENTRY ilConvertPal (ILenum DestFormat)
 
ILAPI ILboolean ILAPIENTRY ilCopyImage (ILuint Src)
 
ILAPI ILuint ILAPIENTRY ilCopyPixels (ILuint XOff, ILuint YOff, ILuint ZOff, ILuint Width, ILuint Height, ILuint Depth, ILenum Format, ILenum Type, void *Data)
 
ILAPI ILuint ILAPIENTRY ilCreateSubImage (ILenum Type, ILuint Num)
 
ILAPI ILboolean ILAPIENTRY ilDefaultImage (void)
 
ILAPI void ILAPIENTRY ilDeleteImage (const ILuint Num)
 
ILAPI void ILAPIENTRY ilDeleteImages (ILsizei Num, const ILuint *Images)
 
ILAPI ILenum ILAPIENTRY ilDetermineType (ILconst_string FileName)
 
ILAPI ILenum ILAPIENTRY ilDetermineTypeF (ILHANDLE File)
 
ILAPI ILenum ILAPIENTRY ilDetermineTypeL (const void *Lump, ILuint Size)
 
ILAPI ILboolean ILAPIENTRY ilDisable (ILenum Mode)
 
ILAPI ILboolean ILAPIENTRY ilDxtcDataToImage (void)
 
ILAPI ILboolean ILAPIENTRY ilDxtcDataToSurface (void)
 
ILAPI ILboolean ILAPIENTRY ilEnable (ILenum Mode)
 
ILAPI void ILAPIENTRY ilFlipSurfaceDxtcData (void)
 
ILAPI ILboolean ILAPIENTRY ilFormatFunc (ILenum Mode)
 
ILAPI ILuint ILAPIENTRY ilGenImage (void)
 
ILAPI void ILAPIENTRY ilGenImages (ILsizei Num, ILuint *Images)
 
ILAPI ILubyte *ILAPIENTRY ilGetAlpha (ILenum Type)
 
ILAPI ILboolean ILAPIENTRY ilGetBoolean (ILenum Mode)
 
ILAPI void ILAPIENTRY ilGetBooleanv (ILenum Mode, ILboolean *Param)
 
ILAPI ILubyte *ILAPIENTRY ilGetData (void)
 
ILAPI ILuint ILAPIENTRY ilGetDXTCData (void *Buffer, ILuint BufferSize, ILenum DXTCFormat)
 
ILAPI ILenum ILAPIENTRY ilGetError (void)
 
ILAPI ILint ILAPIENTRY ilGetInteger (ILenum Mode)
 
ILAPI void ILAPIENTRY ilGetIntegerv (ILenum Mode, ILint *Param)
 
ILAPI ILuint ILAPIENTRY ilGetLumpPos (void)
 
ILAPI ILubyte *ILAPIENTRY ilGetPalette (void)
 
ILAPI ILconst_string ILAPIENTRY ilGetString (ILenum StringName)
 
ILAPI void ILAPIENTRY ilHint (ILenum Target, ILenum Mode)
 
ILAPI ILboolean ILAPIENTRY ilImageToDxtcData (ILenum Format)
 
ILAPI void ILAPIENTRY ilInit (void)
 
ILAPI ILboolean ILAPIENTRY ilInvertSurfaceDxtcDataAlpha (void)
 
ILAPI ILboolean ILAPIENTRY ilIsDisabled (ILenum Mode)
 
ILAPI ILboolean ILAPIENTRY ilIsEnabled (ILenum Mode)
 
ILAPI ILboolean ILAPIENTRY ilIsImage (ILuint Image)
 
ILAPI ILboolean ILAPIENTRY ilIsValid (ILenum Type, ILconst_string FileName)
 
ILAPI ILboolean ILAPIENTRY ilIsValidF (ILenum Type, ILHANDLE File)
 
ILAPI ILboolean ILAPIENTRY ilIsValidL (ILenum Type, void *Lump, ILuint Size)
 
ILAPI void ILAPIENTRY ilKeyColour (ILclampf Red, ILclampf Green, ILclampf Blue, ILclampf Alpha)
 
ILAPI ILboolean ILAPIENTRY ilLoad (ILenum Type, ILconst_string FileName)
 
ILAPI ILboolean ILAPIENTRY ilLoadData (ILconst_string FileName, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp)
 
ILAPI ILboolean ILAPIENTRY ilLoadDataF (ILHANDLE File, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp)
 
ILAPI ILboolean ILAPIENTRY ilLoadDataL (void *Lump, ILuint Size, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp)
 
ILAPI ILboolean ILAPIENTRY ilLoadF (ILenum Type, ILHANDLE File)
 
ILAPI ILboolean ILAPIENTRY ilLoadImage (ILconst_string FileName)
 
ILAPI ILboolean ILAPIENTRY ilLoadL (ILenum Type, const void *Lump, ILuint Size)
 
ILAPI ILboolean ILAPIENTRY ilLoadPal (ILconst_string FileName)
 
ILAPI void ILAPIENTRY ilModAlpha (ILdouble AlphaValue)
 
ILAPI ILboolean ILAPIENTRY ilOriginFunc (ILenum Mode)
 
ILAPI ILboolean ILAPIENTRY ilOverlayImage (ILuint Source, ILint XCoord, ILint YCoord, ILint ZCoord)
 
ILAPI void ILAPIENTRY ilPopAttrib (void)
 
ILAPI void ILAPIENTRY ilPushAttrib (ILuint Bits)
 
ILAPI void ILAPIENTRY ilRegisterFormat (ILenum Format)
 
ILAPI ILboolean ILAPIENTRY ilRegisterLoad (ILconst_string Ext, IL_LOADPROC Load)
 
ILAPI ILboolean ILAPIENTRY ilRegisterMipNum (ILuint Num)
 
ILAPI ILboolean ILAPIENTRY ilRegisterNumFaces (ILuint Num)
 
ILAPI ILboolean ILAPIENTRY ilRegisterNumImages (ILuint Num)
 
ILAPI void ILAPIENTRY ilRegisterOrigin (ILenum Origin)
 
ILAPI void ILAPIENTRY ilRegisterPal (void *Pal, ILuint Size, ILenum Type)
 
ILAPI ILboolean ILAPIENTRY ilRegisterSave (ILconst_string Ext, IL_SAVEPROC Save)
 
ILAPI void ILAPIENTRY ilRegisterType (ILenum Type)
 
ILAPI ILboolean ILAPIENTRY ilRemoveLoad (ILconst_string Ext)
 
ILAPI ILboolean ILAPIENTRY ilRemoveSave (ILconst_string Ext)
 
ILAPI void ILAPIENTRY ilResetMemory (void)
 
ILAPI void ILAPIENTRY ilResetRead (void)
 
ILAPI void ILAPIENTRY ilResetWrite (void)
 
ILAPI ILboolean ILAPIENTRY ilSave (ILenum Type, ILconst_string FileName)
 
ILAPI ILboolean ILAPIENTRY ilSaveData (ILconst_string FileName)
 
ILAPI ILuint ILAPIENTRY ilSaveF (ILenum Type, ILHANDLE File)
 
ILAPI ILboolean ILAPIENTRY ilSaveImage (ILconst_string FileName)
 
ILAPI ILuint ILAPIENTRY ilSaveL (ILenum Type, void *Lump, ILuint Size)
 
ILAPI ILboolean ILAPIENTRY ilSavePal (ILconst_string FileName)
 
ILAPI ILboolean ILAPIENTRY ilSetAlpha (ILdouble AlphaValue)
 
ILAPI ILboolean ILAPIENTRY ilSetData (void *Data)
 
ILAPI ILboolean ILAPIENTRY ilSetDuration (ILuint Duration)
 
ILAPI void ILAPIENTRY ilSetInteger (ILenum Mode, ILint Param)
 
ILAPI void ILAPIENTRY ilSetMemory (mAlloc, mFree)
 
ILAPI void ILAPIENTRY ilSetPixels (ILint XOff, ILint YOff, ILint ZOff, ILuint Width, ILuint Height, ILuint Depth, ILenum Format, ILenum Type, void *Data)
 
ILAPI void ILAPIENTRY ilSetRead (fOpenRProc, fCloseRProc, fEofProc, fGetcProc, fReadProc, fSeekRProc, fTellRProc)
 
ILAPI void ILAPIENTRY ilSetString (ILenum Mode, const char *String)
 
ILAPI void ILAPIENTRY ilSetWrite (fOpenWProc, fCloseWProc, fPutcProc, fSeekWProc, fTellWProc, fWriteProc)
 
ILAPI void ILAPIENTRY ilShutDown (void)
 
ILAPI ILboolean ILAPIENTRY ilSurfaceToDxtcData (ILenum Format)
 
ILAPI ILboolean ILAPIENTRY ilTexImage (ILuint Width, ILuint Height, ILuint Depth, ILubyte NumChannels, ILenum Format, ILenum Type, void *Data)
 
ILAPI ILboolean ILAPIENTRY ilTexImageDxtc (ILint w, ILint h, ILint d, ILenum DxtFormat, const ILubyte *data)
 
ILAPI ILenum ILAPIENTRY ilTypeFromExt (ILconst_string FileName)
 
ILAPI ILboolean ILAPIENTRY ilTypeFunc (ILenum Mode)
 

Detailed Description

The main include file for DevIL

Macro Definition Documentation

◆ __il_h_

#define __il_h_

◆ __IL_H__

#define __IL_H__

◆ CLAMP_DOUBLES

#define CLAMP_DOUBLES   1

◆ CLAMP_FLOATS

#define CLAMP_FLOATS   1

◆ CLAMP_HALF

#define CLAMP_HALF   1

◆ CONST_RESTRICT

#define CONST_RESTRICT   const

◆ DEPRECATED

#define DEPRECATED   (D) D

◆ IL_3DC

#define IL_3DC   0x070E

◆ IL_ACTIVE_FACE

#define IL_ACTIVE_FACE   0x0E00

◆ IL_ACTIVE_IMAGE

#define IL_ACTIVE_IMAGE   0x0DF4

◆ IL_ACTIVE_LAYER

#define IL_ACTIVE_LAYER   0x0DF6

◆ IL_ACTIVE_MIPMAP

#define IL_ACTIVE_MIPMAP   0x0DF5

◆ IL_ALL_ATTRIB_BITS

#define IL_ALL_ATTRIB_BITS   0x000FFFFF

◆ IL_ALPHA

#define IL_ALPHA   0x1906

◆ IL_ATI1N

#define IL_ATI1N   0x0710

◆ IL_BAD_DIMENSIONS

#define IL_BAD_DIMENSIONS   0x0511

◆ IL_BGR

#define IL_BGR   0x80E0

◆ IL_BGRA

#define IL_BGRA   0x80E1

◆ IL_BLIT_BLEND

#define IL_BLIT_BLEND   0x0636

◆ IL_BLP

#define IL_BLP   0x044C

Blizzard Texture Format - .blp extension.

◆ IL_BMP

#define IL_BMP   0x0420

Microsoft Windows Bitmap - .bmp extension.

◆ IL_BMP_RLE

#define IL_BMP_RLE   0x0714

◆ IL_BYTE

#define IL_BYTE   0x1400

Data types Types.

◆ IL_CHEAD

#define IL_CHEAD   0x042F

C-Style Header - .h extension.

◆ IL_CHEAD_HEADER_STRING

#define IL_CHEAD_HEADER_STRING   0x0722

◆ IL_CLAMP

#define IL_CLAMP (   x)    IL_LIMIT(x,0,1)

◆ IL_COLOR_INDEX

#define IL_COLOR_INDEX   0x1900

◆ IL_COLOUR_INDEX

#define IL_COLOUR_INDEX   0x1900

Data formats Formats.

◆ IL_COMPRESS_BIT

#define IL_COMPRESS_BIT   0x00000020

◆ IL_COMPRESS_LZO

#define IL_COMPRESS_LZO   0x0703

◆ IL_COMPRESS_MODE

#define IL_COMPRESS_MODE   0x0700

◆ IL_COMPRESS_NONE

#define IL_COMPRESS_NONE   0x0701

◆ IL_COMPRESS_RLE

#define IL_COMPRESS_RLE   0x0702

◆ IL_COMPRESS_ZLIB

#define IL_COMPRESS_ZLIB   0x0704

◆ IL_COMPRESSION_HINT

#define IL_COMPRESSION_HINT   0x0668

◆ IL_CONV_PAL

#define IL_CONV_PAL   0x0630

◆ IL_COULD_NOT_OPEN_FILE

#define IL_COULD_NOT_OPEN_FILE   0x050A

◆ IL_CUBEMAP_NEGATIVEX

#define IL_CUBEMAP_NEGATIVEX   0x00000800

◆ IL_CUBEMAP_NEGATIVEY

#define IL_CUBEMAP_NEGATIVEY   0x00002000

◆ IL_CUBEMAP_NEGATIVEZ

#define IL_CUBEMAP_NEGATIVEZ   0x00008000

◆ IL_CUBEMAP_POSITIVEX

#define IL_CUBEMAP_POSITIVEX   0x00000400

◆ IL_CUBEMAP_POSITIVEY

#define IL_CUBEMAP_POSITIVEY   0x00001000

◆ IL_CUBEMAP_POSITIVEZ

#define IL_CUBEMAP_POSITIVEZ   0x00004000

◆ IL_CUR_IMAGE

#define IL_CUR_IMAGE   0x0DF7

◆ IL_CUT

#define IL_CUT   0x0421

Dr. Halo - .cut extension.

◆ IL_DCX

#define IL_DCX   0x0438

ZSoft Multi-PCX - .dcx extension.

◆ IL_DDS

#define IL_DDS   0x0437

DirectDraw Surface - .dds extension.

◆ IL_DEFAULT_ON_FAIL

#define IL_DEFAULT_ON_FAIL   0x0632

◆ IL_DICOM

#define IL_DICOM   0x044A

Digital Imaging and Communications in Medicine (DICOM) - .dcm and .dicom extensions.

◆ IL_DONT_CARE

#define IL_DONT_CARE   0x0662

◆ IL_DOOM

#define IL_DOOM   0x0422

DooM walls - no specific extension.

◆ IL_DOOM_FLAT

#define IL_DOOM_FLAT   0x0423

DooM flats - no specific extension.

◆ IL_DOUBLE

#define IL_DOUBLE   0x140A

◆ IL_DPX

#define IL_DPX   0x0450

Digital Picture Exchange - .dpx extension.

◆ IL_DXT1

#define IL_DXT1   0x0706

◆ IL_DXT1A

#define IL_DXT1A   0x0711

◆ IL_DXT2

#define IL_DXT2   0x0707

◆ IL_DXT3

#define IL_DXT3   0x0708

◆ IL_DXT4

#define IL_DXT4   0x0709

◆ IL_DXT5

#define IL_DXT5   0x070A

◆ IL_DXT_NO_COMP

#define IL_DXT_NO_COMP   0x070B

◆ IL_DXTC_DATA_FORMAT

#define IL_DXTC_DATA_FORMAT   0x070D

◆ IL_DXTC_FORMAT

#define IL_DXTC_FORMAT   0x0705

◆ IL_EOF

#define IL_EOF   -1

◆ IL_EXIF

#define IL_EXIF   0x043A

◆ IL_EXR

#define IL_EXR   0x0442

OpenEXR - .exr extension.

◆ IL_FALSE

#define IL_FALSE   0

◆ IL_FASTEST

#define IL_FASTEST   0x0660

◆ IL_FILE_ALREADY_EXISTS

#define IL_FILE_ALREADY_EXISTS   0x050C

◆ IL_FILE_BIT

#define IL_FILE_BIT   0x00000002

◆ IL_FILE_MODE

#define IL_FILE_MODE   0x0621

◆ IL_FILE_OVERWRITE

#define IL_FILE_OVERWRITE   0x0620

◆ IL_FILE_READ_ERROR

#define IL_FILE_READ_ERROR   0x0512

◆ IL_FILE_WRITE_ERROR

#define IL_FILE_WRITE_ERROR   0x0512

◆ IL_FITS

#define IL_FITS   0x0449

Flexible Image Transport System - .fit and .fits extensions.

◆ IL_FLOAT

#define IL_FLOAT   0x1406

◆ IL_FORMAT_BIT

#define IL_FORMAT_BIT   0x00000008

◆ IL_FORMAT_MODE

#define IL_FORMAT_MODE   0x0611

◆ IL_FORMAT_NOT_SUPPORTED

#define IL_FORMAT_NOT_SUPPORTED   0x0503

◆ IL_FORMAT_SET

#define IL_FORMAT_SET   0x0610

◆ IL_FORMAT_SPECIFIC_BIT

#define IL_FORMAT_SPECIFIC_BIT   0x00000080

◆ IL_FTX

#define IL_FTX   0x044D

Heavy Metal: FAKK2 Texture - .ftx extension.

◆ IL_GIF

#define IL_GIF   0x0436

Graphics Interchange Format - .gif extension.

◆ IL_HALF

#define IL_HALF   0x140B

◆ IL_HDR

#define IL_HDR   0x043F

Radiance High Dynamic Range - .hdr extension.

◆ IL_ICNS

#define IL_ICNS   0x0440

Macintosh Icon - .icns extension.

◆ IL_ICO

#define IL_ICO   0x0424

Microsoft Windows Icons and Cursors - .ico and .cur extensions.

◆ IL_IFF

#define IL_IFF   0x0447

Interchange File Format - .iff extension.

◆ IL_ILBM

#define IL_ILBM   0x0426

Amiga IFF (FORM ILBM) - .iff, .ilbm, .lbm extensions.

◆ IL_ILLEGAL_FILE_VALUE

#define IL_ILLEGAL_FILE_VALUE   0x0507

◆ IL_ILLEGAL_OPERATION

#define IL_ILLEGAL_OPERATION   0x0506

◆ IL_IMAGE_BITS_PER_PIXEL

#define IL_IMAGE_BITS_PER_PIXEL   0x0DE9

◆ IL_IMAGE_BPC

#define IL_IMAGE_BPC   0x0DFA

◆ IL_IMAGE_BPP [1/2]

#define IL_IMAGE_BPP   0x0DE8

◆ IL_IMAGE_BPP [2/2]

#define IL_IMAGE_BPP   0x0DE8

◆ IL_IMAGE_BYTES_PER_PIXEL

#define IL_IMAGE_BYTES_PER_PIXEL   0x0DE8

◆ IL_IMAGE_CHANNELS

#define IL_IMAGE_CHANNELS   0x0DFF

◆ IL_IMAGE_CUBEFLAGS

#define IL_IMAGE_CUBEFLAGS   0x0DFD

◆ IL_IMAGE_DEPTH

#define IL_IMAGE_DEPTH   0x0DE6

◆ IL_IMAGE_DURATION

#define IL_IMAGE_DURATION   0x0DF8

◆ IL_IMAGE_FORMAT

#define IL_IMAGE_FORMAT   0x0DEA

◆ IL_IMAGE_HEIGHT

#define IL_IMAGE_HEIGHT   0x0DE5

◆ IL_IMAGE_OFFX

#define IL_IMAGE_OFFX   0x0DFB

◆ IL_IMAGE_OFFY

#define IL_IMAGE_OFFY   0x0DFC

◆ IL_IMAGE_ORIGIN

#define IL_IMAGE_ORIGIN   0x0DFE

◆ IL_IMAGE_PLANESIZE

#define IL_IMAGE_PLANESIZE   0x0DF9

◆ IL_IMAGE_SIZE_OF_DATA

#define IL_IMAGE_SIZE_OF_DATA   0x0DE7

◆ IL_IMAGE_TYPE

#define IL_IMAGE_TYPE   0x0DEB

◆ IL_IMAGE_WIDTH

#define IL_IMAGE_WIDTH   0x0DE4

◆ IL_INT

#define IL_INT   0x1404

◆ IL_INTERLACE_MODE

#define IL_INTERLACE_MODE   0x063A

◆ IL_INTERNAL_ERROR

#define IL_INTERNAL_ERROR   0x0504

◆ IL_INVALID_CONVERSION

#define IL_INVALID_CONVERSION   0x0510

◆ IL_INVALID_ENUM

#define IL_INVALID_ENUM   0x0501

◆ IL_INVALID_EXTENSION

#define IL_INVALID_EXTENSION   0x050B

◆ IL_INVALID_FILE_HEADER

#define IL_INVALID_FILE_HEADER   0x0508

◆ IL_INVALID_PARAM

#define IL_INVALID_PARAM   0x0509

◆ IL_INVALID_VALUE

#define IL_INVALID_VALUE   0x0505

◆ IL_IWI

#define IL_IWI   0x044B

Call of Duty Infinity Ward Image - .iwi extension.

◆ IL_JASC_PAL

#define IL_JASC_PAL   0x0475

PaintShop Pro Palette.

◆ IL_JFIF

#define IL_JFIF   0x0425

◆ IL_JNG

#define IL_JNG   0x0435

◆ IL_JP2

#define IL_JP2   0x0441

Jpeg 2000 - .jp2 extension.

◆ IL_JPG

#define IL_JPG   0x0425

JPEG - .jpg, .jpe and .jpeg extensions.

◆ IL_JPG_PROGRESSIVE

#define IL_JPG_PROGRESSIVE   0x0725

◆ IL_JPG_QUALITY

#define IL_JPG_QUALITY   0x0711

◆ IL_JPG_SAVE_FORMAT

#define IL_JPG_SAVE_FORMAT   0x0721

◆ IL_KEEP_DXTC_DATA

#define IL_KEEP_DXTC_DATA   0x070C

◆ IL_LESS_MEM

#define IL_LESS_MEM   0x0661

◆ IL_LIB_EXR_ERROR

#define IL_LIB_EXR_ERROR   0x05E7

◆ IL_LIB_GIF_ERROR

#define IL_LIB_GIF_ERROR   0x05E1

◆ IL_LIB_JP2_ERROR

#define IL_LIB_JP2_ERROR   0x05E6

◆ IL_LIB_JPEG_ERROR

#define IL_LIB_JPEG_ERROR   0x05E2

◆ IL_LIB_MNG_ERROR

#define IL_LIB_MNG_ERROR   0x05E5

◆ IL_LIB_PNG_ERROR

#define IL_LIB_PNG_ERROR   0x05E3

◆ IL_LIB_TIFF_ERROR

#define IL_LIB_TIFF_ERROR   0x05E4

◆ IL_LIF

#define IL_LIF   0x0434

Homeworld Texture - .lif extension.

◆ IL_LIMIT

#define IL_LIMIT (   x,
  m,
 
)    (x<m?m:(x>M?M:x))

◆ IL_LOAD_EXT

#define IL_LOAD_EXT   0x1F01

◆ IL_LOADFAIL_BIT

#define IL_LOADFAIL_BIT   0x00000040

◆ IL_LUMINANCE

#define IL_LUMINANCE   0x1909

◆ IL_LUMINANCE_ALPHA

#define IL_LUMINANCE_ALPHA   0x190A

◆ IL_MAX_BYTE

#define IL_MAX_BYTE   SCHAR_MAX

◆ IL_MAX_INT

#define IL_MAX_INT   INT_MAX

◆ IL_MAX_QUANT_INDEXS

#define IL_MAX_QUANT_INDEXS   0x0644

◆ IL_MAX_QUANT_INDICES

#define IL_MAX_QUANT_INDICES   0x0644

◆ IL_MAX_SHORT

#define IL_MAX_SHORT   SHRT_MAX

◆ IL_MAX_UNSIGNED_BYTE

#define IL_MAX_UNSIGNED_BYTE   UCHAR_MAX

◆ IL_MAX_UNSIGNED_INT

#define IL_MAX_UNSIGNED_INT   UINT_MAX

◆ IL_MAX_UNSIGNED_SHORT

#define IL_MAX_UNSIGNED_SHORT   USHRT_MAX

◆ IL_MDL

#define IL_MDL   0x0431

Half-Life Model Texture - .mdl extension.

◆ IL_MEM_SPEED_HINT

#define IL_MEM_SPEED_HINT   0x0665

◆ IL_MNG

#define IL_MNG   0x0435

Multiple-image Network Graphics - .mng extension.

◆ IL_MP3

#define IL_MP3   0x0452

MPEG-1 Audio Layer 3 - .mp3 extension.

◆ IL_NEU_QUANT

#define IL_NEU_QUANT   0x0642

◆ IL_NEU_QUANT_SAMPLE

#define IL_NEU_QUANT_SAMPLE   0x0643

◆ IL_NO_COMPRESSION

#define IL_NO_COMPRESSION   0x0667

◆ IL_NO_ERROR

#define IL_NO_ERROR   0x0000

◆ IL_NUM_FACES

#define IL_NUM_FACES   0x0DE1

◆ IL_NUM_IMAGES

#define IL_NUM_IMAGES   0x0DF1

◆ IL_NUM_LAYERS

#define IL_NUM_LAYERS   0x0DF3

◆ IL_NUM_MIPMAPS

#define IL_NUM_MIPMAPS   0x0DF2

◆ IL_NVIDIA_COMPRESS

#define IL_NVIDIA_COMPRESS   0x0670

◆ IL_ORIGIN_BIT

#define IL_ORIGIN_BIT   0x00000001

◆ IL_ORIGIN_LOWER_LEFT

#define IL_ORIGIN_LOWER_LEFT   0x0601

◆ IL_ORIGIN_MODE

#define IL_ORIGIN_MODE   0x0603

◆ IL_ORIGIN_SET

#define IL_ORIGIN_SET   0x0600

◆ IL_ORIGIN_UPPER_LEFT

#define IL_ORIGIN_UPPER_LEFT   0x0602

◆ IL_OUT_FORMAT_SAME

#define IL_OUT_FORMAT_SAME   0x050D

◆ IL_OUT_OF_MEMORY

#define IL_OUT_OF_MEMORY   0x0502

◆ IL_PACKSTRUCT

#define IL_PACKSTRUCT

◆ IL_PAL_BGR24

#define IL_PAL_BGR24   0x0404

◆ IL_PAL_BGR32

#define IL_PAL_BGR32   0x0405

◆ IL_PAL_BGRA32

#define IL_PAL_BGRA32   0x0406

◆ IL_PAL_BIT

#define IL_PAL_BIT   0x00000004

◆ IL_PAL_NONE

#define IL_PAL_NONE   0x0400

◆ IL_PAL_RGB24

#define IL_PAL_RGB24   0x0401

◆ IL_PAL_RGB32

#define IL_PAL_RGB32   0x0402

◆ IL_PAL_RGBA32

#define IL_PAL_RGBA32   0x0403

◆ IL_PALETTE_BASE_TYPE

#define IL_PALETTE_BASE_TYPE   0x0DF0

◆ IL_PALETTE_BPP

#define IL_PALETTE_BPP   0x0DEE

◆ IL_PALETTE_NUM_COLS

#define IL_PALETTE_NUM_COLS   0x0DEF

◆ IL_PALETTE_SIZE

#define IL_PALETTE_SIZE   0x0DED

◆ IL_PALETTE_TYPE

#define IL_PALETTE_TYPE   0x0DEC

◆ IL_PCD

#define IL_PCD   0x0427

Kodak PhotoCD - .pcd extension.

◆ IL_PCD_PICNUM

#define IL_PCD_PICNUM   0x0723

◆ IL_PCX

#define IL_PCX   0x0428

ZSoft PCX - .pcx extension.

◆ IL_PIC

#define IL_PIC   0x0429

PIC - .pic extension.

◆ IL_PIX

#define IL_PIX   0x043C

PIX - .pix extension.

◆ IL_PNG

#define IL_PNG   0x042A

Portable Network Graphics - .png extension.

◆ IL_PNG_ALPHA_INDEX

#define IL_PNG_ALPHA_INDEX   0x0724

◆ IL_PNG_AUTHNAME_STRING

#define IL_PNG_AUTHNAME_STRING   0x071A

◆ IL_PNG_DESCRIPTION_STRING

#define IL_PNG_DESCRIPTION_STRING   0x071C

◆ IL_PNG_INTERLACE

#define IL_PNG_INTERLACE   0x0712

◆ IL_PNG_TITLE_STRING

#define IL_PNG_TITLE_STRING   0x071B

◆ IL_PNM

#define IL_PNM   0x042B

Portable Any Map - .pbm, .pgm, .ppm and .pnm extensions.

◆ IL_PSD

#define IL_PSD   0x0439

Adobe PhotoShop - .psd extension.

◆ IL_PSP

#define IL_PSP   0x043B

PaintShop Pro - .psp extension.

◆ IL_PXR

#define IL_PXR   0x043D

Pixar - .pxr extension.

◆ IL_QUANTIZATION_MODE

#define IL_QUANTIZATION_MODE   0x0640

◆ IL_RAW

#define IL_RAW   0x0430

Raw Image Data - any extension.

◆ IL_RGB

#define IL_RGB   0x1907

◆ IL_RGBA

#define IL_RGBA   0x1908

◆ IL_ROT

#define IL_ROT   0x044E

Homeworld 2 - Relic Texture - .rot extension.

◆ IL_RXGB

#define IL_RXGB   0x070F

◆ IL_SAVE_EXT

#define IL_SAVE_EXT   0x1F02

◆ IL_SAVE_INTERLACED

#define IL_SAVE_INTERLACED   0x0639

◆ IL_SEEK_CUR

#define IL_SEEK_CUR   1

◆ IL_SEEK_END

#define IL_SEEK_END   2

◆ IL_SEEK_SET

#define IL_SEEK_SET   0

◆ IL_SGI

#define IL_SGI   0x042C

Silicon Graphics - .sgi, .bw, .rgb and .rgba extensions.

◆ IL_SGI_RLE

#define IL_SGI_RLE   0x0715

◆ IL_SHORT

#define IL_SHORT   0x1402

◆ IL_SPHEREMAP

#define IL_SPHEREMAP   0x00010000

◆ IL_SQUISH_COMPRESS

#define IL_SQUISH_COMPRESS   0x0671

◆ IL_STACK_OVERFLOW

#define IL_STACK_OVERFLOW   0x050E

◆ IL_STACK_UNDERFLOW

#define IL_STACK_UNDERFLOW   0x050F

◆ IL_SUB_LAYER

#define IL_SUB_LAYER   0x0682

◆ IL_SUB_MIPMAP

#define IL_SUB_MIPMAP   0x0681

◆ IL_SUB_NEXT

#define IL_SUB_NEXT   0x0680

◆ IL_SUN

#define IL_SUN   0x0446

Sun Raster - .sun, .ras, .rs, .im1, .im8, .im24 and .im32 extensions.

◆ IL_TEXTURE

#define IL_TEXTURE   0x044F

Medieval II: Total War Texture - .texture extension.

◆ IL_TGA

#define IL_TGA   0x042D

TrueVision Targa File - .tga, .vda, .icb and .vst extensions.

◆ IL_TGA_AUTHCOMMENT_STRING

#define IL_TGA_AUTHCOMMENT_STRING   0x0719

◆ IL_TGA_AUTHNAME_STRING

#define IL_TGA_AUTHNAME_STRING   0x0718

◆ IL_TGA_CREATE_STAMP

#define IL_TGA_CREATE_STAMP   0x0710

◆ IL_TGA_ID_STRING

#define IL_TGA_ID_STRING   0x0717

◆ IL_TGA_RLE

#define IL_TGA_RLE   0x0713

◆ IL_TIF

#define IL_TIF   0x042E

Tagged Image File Format - .tif and .tiff extensions.

◆ IL_TIF_AUTHNAME_STRING

#define IL_TIF_AUTHNAME_STRING   0x0720

◆ IL_TIF_DESCRIPTION_STRING

#define IL_TIF_DESCRIPTION_STRING   0x071D

◆ IL_TIF_DOCUMENTNAME_STRING

#define IL_TIF_DOCUMENTNAME_STRING   0x071F

◆ IL_TIF_HOSTCOMPUTER_STRING

#define IL_TIF_HOSTCOMPUTER_STRING   0x071E

◆ IL_TPL

#define IL_TPL   0x0448

Gamecube Texture - .tpl extension.

◆ IL_TRUE

#define IL_TRUE   1

◆ IL_TYPE_BIT

#define IL_TYPE_BIT   0x00000010

◆ IL_TYPE_MODE

#define IL_TYPE_MODE   0x0613

◆ IL_TYPE_SET

#define IL_TYPE_SET   0x0612

◆ IL_TYPE_UNKNOWN

#define IL_TYPE_UNKNOWN   0x0000

◆ IL_UNKNOWN_ERROR

#define IL_UNKNOWN_ERROR   0x05FF

◆ IL_UNSIGNED_BYTE

#define IL_UNSIGNED_BYTE   0x1401

◆ IL_UNSIGNED_INT

#define IL_UNSIGNED_INT   0x1405

◆ IL_UNSIGNED_SHORT

#define IL_UNSIGNED_SHORT   0x1403

◆ IL_USE_COMPRESSION

#define IL_USE_COMPRESSION   0x0666

◆ IL_USE_KEY_COLOR

#define IL_USE_KEY_COLOR   0x0635

◆ IL_USE_KEY_COLOUR

#define IL_USE_KEY_COLOUR   0x0635

◆ IL_UTX

#define IL_UTX   0x0451

Unreal (and Unreal Tournament) Texture - .utx extension.

◆ IL_VENDOR

#define IL_VENDOR   0x1F00

◆ IL_VERSION

#define IL_VERSION   178

◆ IL_VERSION_1_7_8

#define IL_VERSION_1_7_8   1

◆ IL_VERSION_NUM

#define IL_VERSION_NUM   0x0DE2

◆ IL_VTF

#define IL_VTF   0x0444

Valve Texture Format - .vtf extension.

◆ IL_VTF_COMP

#define IL_VTF_COMP   0x0726

◆ IL_WAL

#define IL_WAL   0x0432

Quake 2 Texture - .wal extension.

◆ IL_WBMP

#define IL_WBMP   0x0445

Wireless Bitmap - .wbmp extension.

◆ IL_WDP

#define IL_WDP   0x0443

Microsoft HD Photo - .wdp and .hdp extension.

◆ IL_WU_QUANT

#define IL_WU_QUANT   0x0641

◆ IL_XPM

#define IL_XPM   0x043E

X Pixel Map - .xpm extension.

◆ ILAPI

#define ILAPI

◆ ILAPIENTRY

#define ILAPIENTRY

◆ ILchar

#define ILchar   char

◆ ilClearColor

#define ilClearColor   ilClearColour

◆ ILconst_string

#define ILconst_string   char const *

◆ ilKeyColor

#define ilKeyColor   ilKeyColour

◆ ILstring

#define ILstring   char*

◆ imemclear

#define imemclear (   x,
 
)    memset(x,0,y);

◆ RESTRICT

#define RESTRICT

Typedef Documentation

◆ fCloseRProc

typedef void(ILAPIENTRY * fCloseRProc) (ILHANDLE)

◆ fCloseWProc

typedef void(ILAPIENTRY * fCloseWProc) (ILHANDLE)

◆ fEofProc

typedef ILboolean(ILAPIENTRY * fEofProc) (ILHANDLE)

◆ fGetcProc

typedef ILint(ILAPIENTRY * fGetcProc) (ILHANDLE)

◆ fOpenRProc

typedef ILHANDLE(ILAPIENTRY * fOpenRProc) (ILconst_string)

◆ fOpenWProc

typedef ILHANDLE(ILAPIENTRY * fOpenWProc) (ILconst_string)

◆ fPutcProc

typedef ILint(ILAPIENTRY * fPutcProc) (ILubyte, ILHANDLE)

◆ fReadProc

typedef ILint(ILAPIENTRY * fReadProc) (void *, ILuint, ILuint, ILHANDLE)

◆ fSeekRProc

typedef ILint(ILAPIENTRY * fSeekRProc) (ILHANDLE, ILint, ILint)

◆ fSeekWProc

typedef ILint(ILAPIENTRY * fSeekWProc) (ILHANDLE, ILint, ILint)

◆ fTellRProc

typedef ILint(ILAPIENTRY * fTellRProc) (ILHANDLE)

◆ fTellWProc

typedef ILint(ILAPIENTRY * fTellWProc) (ILHANDLE)

◆ fWriteProc

typedef ILint(ILAPIENTRY * fWriteProc) (const void *, ILuint, ILuint, ILHANDLE)

◆ IL_LOADPROC

typedef ILenum(ILAPIENTRY * IL_LOADPROC) (ILconst_string)

◆ IL_SAVEPROC

typedef ILenum(ILAPIENTRY * IL_SAVEPROC) (ILconst_string)

◆ ILbitfield

typedef unsigned int ILbitfield

◆ ILboolean

typedef unsigned char ILboolean

◆ ILbyte

typedef signed char ILbyte

◆ ILclampd

typedef double ILclampd

◆ ILclampf

typedef float ILclampf

◆ ILdouble

typedef double ILdouble

◆ ILenum

typedef unsigned int ILenum

◆ ILfloat

typedef float ILfloat

◆ ILHANDLE

typedef void* ILHANDLE

◆ ILint

typedef int ILint

◆ ILint64

typedef long long int ILint64

◆ ILshort

typedef signed short ILshort

◆ ILsizei

typedef size_t ILsizei

◆ ILubyte

typedef unsigned char ILubyte

◆ ILuint

typedef unsigned int ILuint

◆ ILuint64

typedef long long unsigned int ILuint64

◆ ILushort

typedef unsigned short ILushort

◆ mAlloc

typedef void*(ILAPIENTRY * mAlloc) (const ILsizei)

◆ mFree

typedef void(ILAPIENTRY * mFree) (const void *CONST_RESTRICT)

Function Documentation

◆ ilActiveFace()

ILAPI ILboolean ILAPIENTRY ilActiveFace ( ILuint  Number)

◆ ilActiveImage()

ILAPI ILboolean ILAPIENTRY ilActiveImage ( ILuint  Number)

◆ ilActiveLayer()

ILAPI ILboolean ILAPIENTRY ilActiveLayer ( ILuint  Number)

◆ ilActiveMipmap()

ILAPI ILboolean ILAPIENTRY ilActiveMipmap ( ILuint  Number)

◆ ilApplyPal()

ILAPI ILboolean ILAPIENTRY ilApplyPal ( ILconst_string  FileName)

◆ ilApplyProfile()

ILAPI ILboolean ILAPIENTRY ilApplyProfile ( ILstring  InProfile,
ILstring  OutProfile 
)

◆ ilBindImage()

ILAPI void ILAPIENTRY ilBindImage ( ILuint  Image)

◆ ilBlit()

ILAPI ILboolean ILAPIENTRY ilBlit ( ILuint  Source,
ILint  DestX,
ILint  DestY,
ILint  DestZ,
ILuint  SrcX,
ILuint  SrcY,
ILuint  SrcZ,
ILuint  Width,
ILuint  Height,
ILuint  Depth 
)

◆ ilClampNTSC()

ILAPI ILboolean ILAPIENTRY ilClampNTSC ( void  )

◆ ilClearColour()

ILAPI void ILAPIENTRY ilClearColour ( ILclampf  Red,
ILclampf  Green,
ILclampf  Blue,
ILclampf  Alpha 
)

◆ ilClearImage()

ILAPI ILboolean ILAPIENTRY ilClearImage ( void  )

◆ ilCloneCurImage()

ILAPI ILuint ILAPIENTRY ilCloneCurImage ( void  )

◆ ilCompressDXT()

ILAPI ILubyte* ILAPIENTRY ilCompressDXT ( ILubyte Data,
ILuint  Width,
ILuint  Height,
ILuint  Depth,
ILenum  DXTCFormat,
ILuint DXTCSize 
)

◆ ilCompressFunc()

ILAPI ILboolean ILAPIENTRY ilCompressFunc ( ILenum  Mode)

◆ ilConvertImage()

ILAPI ILboolean ILAPIENTRY ilConvertImage ( ILenum  DestFormat,
ILenum  DestType 
)

◆ ilConvertPal()

ILAPI ILboolean ILAPIENTRY ilConvertPal ( ILenum  DestFormat)

◆ ilCopyImage()

ILAPI ILboolean ILAPIENTRY ilCopyImage ( ILuint  Src)

◆ ilCopyPixels()

ILAPI ILuint ILAPIENTRY ilCopyPixels ( ILuint  XOff,
ILuint  YOff,
ILuint  ZOff,
ILuint  Width,
ILuint  Height,
ILuint  Depth,
ILenum  Format,
ILenum  Type,
void *  Data 
)

◆ ilCreateSubImage()

ILAPI ILuint ILAPIENTRY ilCreateSubImage ( ILenum  Type,
ILuint  Num 
)

◆ ilDefaultImage()

ILAPI ILboolean ILAPIENTRY ilDefaultImage ( void  )

◆ ilDeleteImage()

ILAPI void ILAPIENTRY ilDeleteImage ( const ILuint  Num)

◆ ilDeleteImages()

ILAPI void ILAPIENTRY ilDeleteImages ( ILsizei  Num,
const ILuint Images 
)

◆ ilDetermineType()

ILAPI ILenum ILAPIENTRY ilDetermineType ( ILconst_string  FileName)

◆ ilDetermineTypeF()

ILAPI ILenum ILAPIENTRY ilDetermineTypeF ( ILHANDLE  File)

◆ ilDetermineTypeL()

ILAPI ILenum ILAPIENTRY ilDetermineTypeL ( const void *  Lump,
ILuint  Size 
)

◆ ilDisable()

ILAPI ILboolean ILAPIENTRY ilDisable ( ILenum  Mode)

◆ ilDxtcDataToImage()

ILAPI ILboolean ILAPIENTRY ilDxtcDataToImage ( void  )

◆ ilDxtcDataToSurface()

ILAPI ILboolean ILAPIENTRY ilDxtcDataToSurface ( void  )

◆ ilEnable()

ILAPI ILboolean ILAPIENTRY ilEnable ( ILenum  Mode)

◆ ilFlipSurfaceDxtcData()

ILAPI void ILAPIENTRY ilFlipSurfaceDxtcData ( void  )

◆ ilFormatFunc()

ILAPI ILboolean ILAPIENTRY ilFormatFunc ( ILenum  Mode)

◆ ilGenImage()

ILAPI ILuint ILAPIENTRY ilGenImage ( void  )

◆ ilGenImages()

ILAPI void ILAPIENTRY ilGenImages ( ILsizei  Num,
ILuint Images 
)

◆ ilGetAlpha()

ILAPI ILubyte* ILAPIENTRY ilGetAlpha ( ILenum  Type)

◆ ilGetBoolean()

ILAPI ILboolean ILAPIENTRY ilGetBoolean ( ILenum  Mode)

◆ ilGetBooleanv()

ILAPI void ILAPIENTRY ilGetBooleanv ( ILenum  Mode,
ILboolean Param 
)

◆ ilGetData()

ILAPI ILubyte* ILAPIENTRY ilGetData ( void  )

◆ ilGetDXTCData()

ILAPI ILuint ILAPIENTRY ilGetDXTCData ( void *  Buffer,
ILuint  BufferSize,
ILenum  DXTCFormat 
)

◆ ilGetError()

ILAPI ILenum ILAPIENTRY ilGetError ( void  )

◆ ilGetInteger()

ILAPI ILint ILAPIENTRY ilGetInteger ( ILenum  Mode)

◆ ilGetIntegerv()

ILAPI void ILAPIENTRY ilGetIntegerv ( ILenum  Mode,
ILint Param 
)

◆ ilGetLumpPos()

ILAPI ILuint ILAPIENTRY ilGetLumpPos ( void  )

◆ ilGetPalette()

ILAPI ILubyte* ILAPIENTRY ilGetPalette ( void  )

◆ ilGetString()

ILAPI ILconst_string ILAPIENTRY ilGetString ( ILenum  StringName)

◆ ilHint()

ILAPI void ILAPIENTRY ilHint ( ILenum  Target,
ILenum  Mode 
)

◆ ilImageToDxtcData()

ILAPI ILboolean ILAPIENTRY ilImageToDxtcData ( ILenum  Format)

◆ ilInit()

ILAPI void ILAPIENTRY ilInit ( void  )

◆ ilInvertSurfaceDxtcDataAlpha()

ILAPI ILboolean ILAPIENTRY ilInvertSurfaceDxtcDataAlpha ( void  )

◆ ilIsDisabled()

ILAPI ILboolean ILAPIENTRY ilIsDisabled ( ILenum  Mode)

◆ ilIsEnabled()

ILAPI ILboolean ILAPIENTRY ilIsEnabled ( ILenum  Mode)

◆ ilIsImage()

ILAPI ILboolean ILAPIENTRY ilIsImage ( ILuint  Image)

◆ ilIsValid()

ILAPI ILboolean ILAPIENTRY ilIsValid ( ILenum  Type,
ILconst_string  FileName 
)

◆ ilIsValidF()

ILAPI ILboolean ILAPIENTRY ilIsValidF ( ILenum  Type,
ILHANDLE  File 
)

◆ ilIsValidL()

ILAPI ILboolean ILAPIENTRY ilIsValidL ( ILenum  Type,
void *  Lump,
ILuint  Size 
)

◆ ilKeyColour()

ILAPI void ILAPIENTRY ilKeyColour ( ILclampf  Red,
ILclampf  Green,
ILclampf  Blue,
ILclampf  Alpha 
)

◆ ilLoad()

ILAPI ILboolean ILAPIENTRY ilLoad ( ILenum  Type,
ILconst_string  FileName 
)

◆ ilLoadData()

ILAPI ILboolean ILAPIENTRY ilLoadData ( ILconst_string  FileName,
ILuint  Width,
ILuint  Height,
ILuint  Depth,
ILubyte  Bpp 
)

◆ ilLoadDataF()

ILAPI ILboolean ILAPIENTRY ilLoadDataF ( ILHANDLE  File,
ILuint  Width,
ILuint  Height,
ILuint  Depth,
ILubyte  Bpp 
)

◆ ilLoadDataL()

ILAPI ILboolean ILAPIENTRY ilLoadDataL ( void *  Lump,
ILuint  Size,
ILuint  Width,
ILuint  Height,
ILuint  Depth,
ILubyte  Bpp 
)

◆ ilLoadF()

ILAPI ILboolean ILAPIENTRY ilLoadF ( ILenum  Type,
ILHANDLE  File 
)

◆ ilLoadImage()

ILAPI ILboolean ILAPIENTRY ilLoadImage ( ILconst_string  FileName)

◆ ilLoadL()

ILAPI ILboolean ILAPIENTRY ilLoadL ( ILenum  Type,
const void *  Lump,
ILuint  Size 
)

◆ ilLoadPal()

ILAPI ILboolean ILAPIENTRY ilLoadPal ( ILconst_string  FileName)

◆ ilModAlpha()

ILAPI void ILAPIENTRY ilModAlpha ( ILdouble  AlphaValue)

◆ ilOriginFunc()

ILAPI ILboolean ILAPIENTRY ilOriginFunc ( ILenum  Mode)

◆ ilOverlayImage()

ILAPI ILboolean ILAPIENTRY ilOverlayImage ( ILuint  Source,
ILint  XCoord,
ILint  YCoord,
ILint  ZCoord 
)

◆ ilPopAttrib()

ILAPI void ILAPIENTRY ilPopAttrib ( void  )

◆ ilPushAttrib()

ILAPI void ILAPIENTRY ilPushAttrib ( ILuint  Bits)

◆ ilRegisterFormat()

ILAPI void ILAPIENTRY ilRegisterFormat ( ILenum  Format)

◆ ilRegisterLoad()

ILAPI ILboolean ILAPIENTRY ilRegisterLoad ( ILconst_string  Ext,
IL_LOADPROC  Load 
)

◆ ilRegisterMipNum()

ILAPI ILboolean ILAPIENTRY ilRegisterMipNum ( ILuint  Num)

◆ ilRegisterNumFaces()

ILAPI ILboolean ILAPIENTRY ilRegisterNumFaces ( ILuint  Num)

◆ ilRegisterNumImages()

ILAPI ILboolean ILAPIENTRY ilRegisterNumImages ( ILuint  Num)

◆ ilRegisterOrigin()

ILAPI void ILAPIENTRY ilRegisterOrigin ( ILenum  Origin)

◆ ilRegisterPal()

ILAPI void ILAPIENTRY ilRegisterPal ( void *  Pal,
ILuint  Size,
ILenum  Type 
)

◆ ilRegisterSave()

ILAPI ILboolean ILAPIENTRY ilRegisterSave ( ILconst_string  Ext,
IL_SAVEPROC  Save 
)

◆ ilRegisterType()

ILAPI void ILAPIENTRY ilRegisterType ( ILenum  Type)

◆ ilRemoveLoad()

ILAPI ILboolean ILAPIENTRY ilRemoveLoad ( ILconst_string  Ext)

◆ ilRemoveSave()

ILAPI ILboolean ILAPIENTRY ilRemoveSave ( ILconst_string  Ext)

◆ ilResetMemory()

ILAPI void ILAPIENTRY ilResetMemory ( void  )

◆ ilResetRead()

ILAPI void ILAPIENTRY ilResetRead ( void  )

◆ ilResetWrite()

ILAPI void ILAPIENTRY ilResetWrite ( void  )

◆ ilSave()

ILAPI ILboolean ILAPIENTRY ilSave ( ILenum  Type,
ILconst_string  FileName 
)

◆ ilSaveData()

ILAPI ILboolean ILAPIENTRY ilSaveData ( ILconst_string  FileName)

◆ ilSaveF()

ILAPI ILuint ILAPIENTRY ilSaveF ( ILenum  Type,
ILHANDLE  File 
)

◆ ilSaveImage()

ILAPI ILboolean ILAPIENTRY ilSaveImage ( ILconst_string  FileName)

◆ ilSaveL()

ILAPI ILuint ILAPIENTRY ilSaveL ( ILenum  Type,
void *  Lump,
ILuint  Size 
)

◆ ilSavePal()

ILAPI ILboolean ILAPIENTRY ilSavePal ( ILconst_string  FileName)

◆ ilSetAlpha()

ILAPI ILboolean ILAPIENTRY ilSetAlpha ( ILdouble  AlphaValue)

◆ ilSetData()

ILAPI ILboolean ILAPIENTRY ilSetData ( void *  Data)

◆ ilSetDuration()

ILAPI ILboolean ILAPIENTRY ilSetDuration ( ILuint  Duration)

◆ ilSetInteger()

ILAPI void ILAPIENTRY ilSetInteger ( ILenum  Mode,
ILint  Param 
)

◆ ilSetMemory()

ILAPI void ILAPIENTRY ilSetMemory ( mAlloc  ,
mFree   
)

◆ ilSetPixels()

ILAPI void ILAPIENTRY ilSetPixels ( ILint  XOff,
ILint  YOff,
ILint  ZOff,
ILuint  Width,
ILuint  Height,
ILuint  Depth,
ILenum  Format,
ILenum  Type,
void *  Data 
)

◆ ilSetRead()

ILAPI void ILAPIENTRY ilSetRead ( fOpenRProc  ,
fCloseRProc  ,
fEofProc  ,
fGetcProc  ,
fReadProc  ,
fSeekRProc  ,
fTellRProc   
)

◆ ilSetString()

ILAPI void ILAPIENTRY ilSetString ( ILenum  Mode,
const char *  String 
)

◆ ilSetWrite()

ILAPI void ILAPIENTRY ilSetWrite ( fOpenWProc  ,
fCloseWProc  ,
fPutcProc  ,
fSeekWProc  ,
fTellWProc  ,
fWriteProc   
)

◆ ilShutDown()

ILAPI void ILAPIENTRY ilShutDown ( void  )

◆ ilSurfaceToDxtcData()

ILAPI ILboolean ILAPIENTRY ilSurfaceToDxtcData ( ILenum  Format)

◆ ilTexImage()

ILAPI ILboolean ILAPIENTRY ilTexImage ( ILuint  Width,
ILuint  Height,
ILuint  Depth,
ILubyte  NumChannels,
ILenum  Format,
ILenum  Type,
void *  Data 
)

◆ ilTexImageDxtc()

ILAPI ILboolean ILAPIENTRY ilTexImageDxtc ( ILint  w,
ILint  h,
ILint  d,
ILenum  DxtFormat,
const ILubyte data 
)

◆ ilTypeFromExt()

ILAPI ILenum ILAPIENTRY ilTypeFromExt ( ILconst_string  FileName)

◆ ilTypeFunc()

ILAPI ILboolean ILAPIENTRY ilTypeFunc ( ILenum  Mode)