# E:/DevIL/src-IL/include/il_states.h File Reference

`#include "il_internal.h"`

Go to the source code of this file.

## Data Structures

struct | IL_STATES
struct | IL_HINTS

## Defines

#define | IL_ATTRIB_STACK_MAX 32
#define | IL_BMP_EXT "bmp dib "
#define | IL_CHEAD_EXT "h "
#define | IL_CUT_EXT "cut "
#define | IL_DCX_EXT "dcx "
#define | IL_DDS_EXT "dds "
#define | IL_EXR_EXT "exr "
#define | IL_GIF_EXT "gif "
#define | IL_HDR_EXT "hdr "
#define | IL_ICNS_EXT "icns "
#define | IL_ICO_EXT "ico cur "
#define | IL_IFF_EXT "iff "
#define | IL_JP2_EXT "jp2 "
#define | IL_JPG_EXT "jpg jpe jpeg "
#define | IL_LIF_EXT "lif "
#define | IL_MDL_EXT "mdl "
#define | IL_MNG_EXT "mng jng "
#define | IL_PCD_EXT "pcd "
#define | IL_PCX_EXT "pcx "
#define | IL_PIC_EXT "pic "
#define | IL_PIX_EXT "pix "
#define | IL_PNG_EXT "png "
#define | IL_PNM_EXT "pbm pgm pnm ppm "
#define | IL_PSD_EXT "psd pdd "
#define | IL_PSP_EXT "psp "
#define | IL_PXR_EXT "pxr "
#define | IL_RAW_EXT "raw "
#define | IL_SGI_EXT "sgi bw rgb rgba "
#define | IL_SUN_EXT "sun "
#define | IL_TGA_EXT "tga vda icb vst "
#define | IL_TIF_EXT "tif tiff "
#define | IL_VTF_EXT "vtf "
#define | IL_WAL_EXT "wal "
#define | IL_WBMP_EXT "wbmp "
#define | IL_XPM_EXT "xpm "

## Functions

ILboolean | ilAble (ILenum Mode, ILboolean Flag)

## Variables

ILuint | ilCurrentPos = 0
IL_STATES | ilStates [IL_ATTRIB_STACK_MAX]
IL_HINTS | ilHints

## Define Documentation

#define IL_ATTRIB_STACK_MAX 32

Referenced by ilPushAttrib().

#define IL_BMP_EXT "bmp dib "

#define IL_CHEAD_EXT "h "

#define IL_CUT_EXT "cut "

#define IL_DCX_EXT "dcx "

#define IL_DDS_EXT "dds "

#define IL_EXR_EXT "exr "

#define IL_GIF_EXT "gif "

#define IL_HDR_EXT "hdr "

#define IL_ICNS_EXT "icns "

#define IL_ICO_EXT "ico cur "

#define IL_IFF_EXT "iff "

#define IL_JP2_EXT "jp2 "

#define IL_JPG_EXT "jpg jpe jpeg "

#define IL_LIF_EXT "lif "

#define IL_MDL_EXT "mdl "

#define IL_MNG_EXT "mng jng "

#define IL_PCD_EXT "pcd "

#define IL_PCX_EXT "pcx "

#define IL_PIC_EXT "pic "

#define IL_PIX_EXT "pix "

#define IL_PNG_EXT "png "

#define IL_PNM_EXT "pbm pgm pnm ppm "

#define IL_PSD_EXT "psd pdd "

#define IL_PSP_EXT "psp "

#define IL_PXR_EXT "pxr "

#define IL_RAW_EXT "raw "

#define IL_SGI_EXT "sgi bw rgb rgba "

#define IL_SUN_EXT "sun "

#define IL_TGA_EXT "tga vda icb vst "

#define IL_TIF_EXT "tif tiff "

#define IL_VTF_EXT "vtf "

#define IL_WAL_EXT "wal "

#define IL_WBMP_EXT "wbmp "

#define IL_XPM_EXT "xpm "

## Function Documentation

ILboolean ilAble | ( | ILenum | Mode,
|  | ILboolean | Flag |
| ) |  |  |

Referenced by ilDisable(), and ilEnable().

## Variable Documentation

ILuint ilCurrentPos = 0

Referenced by iGetString(), ilAble(), ilCompressFunc(), ilDefaultStates(), ilFormatFunc(), ilGetIntegerv(), ilGetString(), ilIsEnabled(), ilOriginFunc(), ilPopAttrib(), ilPushAttrib(), ilSetInteger(), ilSetString(), and ilTypeFunc().

IL_HINTS ilHints

Referenced by iGetHint(), ilDefaultStates(), and ilHint().

IL_STATES ilStates[IL_ATTRIB_STACK_MAX]

Referenced by iGetString(), ilAble(), ilCompressFunc(), ilDefaultStates(), ilFormatFunc(), ilGetIntegerv(), ilGetString(), ilIsEnabled(), ilOriginFunc(), ilPushAttrib(), ilSetInteger(), ilSetString(), and ilTypeFunc().