# ilImage Class Reference

`#include <devil_cpp_wrapper.hpp>`

## Public Member Functions

| ilImage ()
| ilImage (ILconst_string)
| ilImage (const ilImage &)
virtual | ~ilImage ()
ILboolean | Load (ILconst_string)
ILboolean | Load (ILconst_string, ILenum)
ILboolean | Save (ILconst_string)
ILboolean | Save (ILconst_string, ILenum)
ILboolean | ActiveImage (ILuint)
ILboolean | ActiveLayer (ILuint)
ILboolean | ActiveMipmap (ILuint)
ILboolean | Clear (void)
void | ClearColour (ILclampf, ILclampf, ILclampf, ILclampf)
ILboolean | Convert (ILenum)
ILboolean | Copy (ILuint)
ILboolean | Default (void)
ILboolean | Flip (void)
ILboolean | SwapColours (void)
ILboolean | Resize (ILuint, ILuint, ILuint)
ILboolean | TexImage (ILuint, ILuint, ILuint, ILubyte, ILenum, ILenum, void *)
void | Bind (void) const
void | Bind (ILuint)
void | Close (void)
void | Delete (void)
void | iGenBind ()
ILenum | PaletteAlphaIndex ()
ILuint | Width (void)
ILuint | Height (void)
ILuint | Depth (void)
ILubyte | Bpp (void)
ILubyte | Bitpp (void)
ILenum | PaletteType (void)
ILenum | Format (void)
ILenum | Type (void)
ILuint | NumImages (void)
ILuint | NumMipmaps (void)
ILuint | GetId (void) const
ILenum | GetOrigin (void)
ILubyte * | GetData (void)
ILubyte * | GetPalette (void)
ILuint | BindImage (void)
ILuint | BindImage (ILenum)
ilImage & | operator= (ILuint)
ilImage & | operator= (const ilImage &)
| ilImage ()
| ilImage (char *)
| ilImage (const ilImage &)
virtual | ~ilImage ()
ILboolean | Load (char *)
ILboolean | Load (char *, ILenum)
ILboolean | Save (char *)
ILboolean | Save (char *, ILenum)
ILboolean | ActiveImage (ILuint)
ILboolean | ActiveLayer (ILuint)
ILboolean | ActiveMipmap (ILuint)
ILboolean | Clear (void)
ILvoid | ClearColour (ILclampf, ILclampf, ILclampf, ILclampf)
ILboolean | Convert (ILenum)
ILboolean | Copy (ILuint)
ILboolean | Default (void)
ILboolean | Flip (void)
ILboolean | SwapColours (void)
ILboolean | Resize (ILuint, ILuint, ILuint)
ILboolean | TexImage (ILuint, ILuint, ILuint, ILubyte, ILenum, ILenum, ILvoid *)
ILvoid | Bind (void) const
ILvoid | Bind (ILuint)
ILvoid | Close (void)
ILvoid | Delete (void)
ILvoid | iGenBind ()
ILenum | PaletteAlphaIndex ()
ILuint | Width (void)
ILuint | Height (void)
ILuint | Depth (void)
ILubyte | Bpp (void)
ILubyte | Bitpp (void)
ILenum | PaletteType (void)
ILenum | Format (void)
ILenum | Type (void)
ILuint | NumImages (void)
ILuint | NumMipmaps (void)
ILuint | GetId (void) const
ILenum | GetOrigin (void)
ILubyte * | GetData (void)
ILubyte * | GetPalette (void)
ILuint | BindImage (void)
ILuint | BindImage (ILenum)
ilImage & | operator= (ILuint)
ilImage & | operator= (const ilImage &)

## Protected Attributes

ILuint | Id

## Constructor & Destructor Documentation

ilImage::ilImage | ( |  | ) |

ilImage::ilImage | ( | ILconst_string | FileName | ) |

ilImage::ilImage | ( | const ilImage & | Image | ) |

ilImage::~ilImage | ( |  | ) | `[virtual]`

ilImage::ilImage | ( |  | ) |

ilImage::ilImage | ( | char * |  | ) |

ilImage::ilImage | ( | const ilImage & |  | ) |

virtual ilImage::~ilImage | ( |  | ) | `[virtual]`

## Member Function Documentation

ILboolean ilImage::ActiveImage | ( | ILuint |  | ) |

ILboolean ilImage::ActiveImage | ( | ILuint | Number | ) |

ILboolean ilImage::ActiveLayer | ( | ILuint |  | ) |

ILboolean ilImage::ActiveLayer | ( | ILuint | Number | ) |

ILboolean ilImage::ActiveMipmap | ( | ILuint |  | ) |

ILboolean ilImage::ActiveMipmap | ( | ILuint | Number | ) |

ILvoid ilImage::Bind | ( | ILuint |  | ) |

ILvoid ilImage::Bind | ( | void |  | ) | const

void ilImage::Bind | ( | ILuint | Image | ) |

void ilImage::Bind | ( | void |  | ) | const

Referenced by ActiveImage(), ActiveLayer(), ActiveMipmap(), ilFilters::Alienify(), Bitpp(), ilFilters::BlurAvg(), ilFilters::BlurGaussian(), Bpp(), Clear(), ilFilters::Contrast(), Convert(), Copy(), Default(), Depth(), ilFilters::EdgeDetectE(), ilFilters::EdgeDetectP(), ilFilters::EdgeDetectS(), ilFilters::Emboss(), Flip(), Format(), ilFilters::Gamma(), GetData(), GetOrigin(), GetPalette(), Height(), ilFilters::Negative(), ilFilters::Noisify(), NumImages(), NumMipmaps(), operator=(), PaletteAlphaIndex(), PaletteType(), ilFilters::Pixelize(), Resize(), ilFilters::Saturate(), ilFilters::ScaleColours(), ilFilters::Sharpen(), SwapColours(), TexImage(), Type(), and Width().

ILuint ilImage::BindImage | ( | ILenum |  | ) |

ILuint ilImage::BindImage | ( | void |  | ) |

ILuint ilImage::BindImage | ( | ILenum |  | ) |

ILuint ilImage::BindImage | ( | void |  | ) |

ILubyte ilImage::Bitpp | ( | void |  | ) |

ILubyte ilImage::Bitpp | ( | void |  | ) |

ILubyte ilImage::Bpp | ( | void |  | ) |

ILubyte ilImage::Bpp | ( | void |  | ) |

ILboolean ilImage::Clear | ( | void |  | ) |

ILboolean ilImage::Clear | ( | void |  | ) |

ILvoid ilImage::ClearColour | ( | ILclampf | ,
|  | ILclampf | ,
|  | ILclampf | ,
|  | ILclampf |  |
| ) |  |  |

void ilImage::ClearColour | ( | ILclampf | Red,
|  | ILclampf | Green,
|  | ILclampf | Blue,
|  | ILclampf | Alpha |
| ) |  |  |

ILvoid ilImage::Close | ( | void |  | ) | `[inline]`

void ilImage::Close | ( | void |  | ) | `[inline]`

ILboolean ilImage::Convert | ( | ILenum |  | ) |

ILboolean ilImage::Convert | ( | ILenum | NewFormat | ) |

ILboolean ilImage::Copy | ( | ILuint |  | ) |

ILboolean ilImage::Copy | ( | ILuint | Src | ) |

ILboolean ilImage::Default | ( | void |  | ) |

ILboolean ilImage::Default | ( | void |  | ) |

ILvoid ilImage::Delete | ( | void |  | ) |

void ilImage::Delete | ( | void |  | ) |

Referenced by Bind(), and Close().

ILuint ilImage::Depth | ( | void |  | ) |

ILuint ilImage::Depth | ( | void |  | ) |

ILboolean ilImage::Flip | ( | void |  | ) |

ILboolean ilImage::Flip | ( | void |  | ) |

ILenum ilImage::Format | ( | void |  | ) |

ILenum ilImage::Format | ( | void |  | ) |

ILubyte* ilImage::GetData | ( | void |  | ) |

ILubyte * ilImage::GetData | ( | void |  | ) |

ILuint ilImage::GetId | ( | void |  | ) | const

ILuint ilImage::GetId | ( | void |  | ) | const

Referenced by operator=().

ILenum ilImage::GetOrigin | ( | void |  | ) |

ILenum ilImage::GetOrigin | ( | void |  | ) |

ILubyte* ilImage::GetPalette | ( | void |  | ) |

ILubyte * ilImage::GetPalette | ( | void |  | ) |

ILuint ilImage::Height | ( | void |  | ) |

ILuint ilImage::Height | ( | void |  | ) |

ILvoid ilImage::iGenBind | ( |  | ) |

void ilImage::iGenBind | ( |  | ) |

Referenced by ilImage(), Load(), and Save().

ILboolean ilImage::Load | ( | char * | ,
|  | ILenum |  |
| ) |  |  |

ILboolean ilImage::Load | ( | char * |  | ) |

ILboolean ilImage::Load | ( | ILconst_string | FileName,
|  | ILenum | Type |
| ) |  |  |

ILboolean ilImage::Load | ( | ILconst_string | FileName | ) |

ILuint ilImage::NumImages | ( | void |  | ) |

ILenum ilImage::NumImages | ( | void |  | ) |

ILuint ilImage::NumMipmaps | ( | void |  | ) |

ILenum ilImage::NumMipmaps | ( | void |  | ) |

ilImage& ilImage::operator= | ( | const ilImage & |  | ) |

ilImage& ilImage::operator= | ( | ILuint |  | ) |

ilImage & ilImage::operator= | ( | const ilImage & | Image | ) |

ilImage & ilImage::operator= | ( | ILuint | Image | ) |

ILenum ilImage::PaletteAlphaIndex | ( |  | ) |

ILenum ilImage::PaletteAlphaIndex | ( |  | ) |

ILenum ilImage::PaletteType | ( | void |  | ) |

ILenum ilImage::PaletteType | ( | void |  | ) |

ILboolean ilImage::Resize | ( | ILuint | ,
|  | ILuint | ,
|  | ILuint |  |
| ) |  |  |

ILboolean ilImage::Resize | ( | ILuint | Width,
|  | ILuint | Height,
|  | ILuint | Depth |
| ) |  |  |

ILboolean ilImage::Save | ( | char * | ,
|  | ILenum |  |
| ) |  |  |

ILboolean ilImage::Save | ( | char * |  | ) |

ILboolean ilImage::Save | ( | ILconst_string | FileName,
|  | ILenum | Type |
| ) |  |  |

ILboolean ilImage::Save | ( | ILconst_string | FileName | ) |

ILboolean ilImage::SwapColours | ( | void |  | ) |

ILboolean ilImage::SwapColours | ( | void |  | ) |

ILboolean ilImage::TexImage | ( | ILuint | ,
|  | ILuint | ,
|  | ILuint | ,
|  | ILubyte | ,
|  | ILenum | ,
|  | ILenum | ,
|  | ILvoid * |  |
| ) |  |  |

ILboolean ilImage::TexImage | ( | ILuint | Width,
|  | ILuint | Height,
|  | ILuint | Depth,
|  | ILubyte | Bpp,
|  | ILenum | Format,
|  | ILenum | Type,
|  | void * | Data |
| ) |  |  |

ILenum ilImage::Type | ( | void |  | ) |

ILenum ilImage::Type | ( | void |  | ) |

ILuint ilImage::Width | ( | void |  | ) |

ILuint ilImage::Width | ( | void |  | ) |

## Field Documentation

ILuint ilImage::Id`[protected]`

Referenced by ActiveImage(), ActiveLayer(), ActiveMipmap(), Bind(), Bitpp(), Bpp(), Clear(), Convert(), Copy(), Default(), Delete(), Depth(), Flip(), Format(), GetData(), GetId(), GetOrigin(), GetPalette(), Height(), iGenBind(), ilImage(), NumImages(), NumMipmaps(), operator=(), PaletteAlphaIndex(), PaletteType(), Resize(), SwapColours(), TexImage(), Type(), Width(), and ~ilImage().

The documentation for this class was generated from the following files:

- E:/DevIL/include/IL/devil_cpp_wrapper.hpp
- E:/DevIL/include/IL/il_wrap.h