Structure that encapsulates a devIL image format definition. More...
#include <OgreILUtil.h>
Public Member Functions | |
ILFormat () | |
Construct an invalidated ILFormat structure. More... | |
ILFormat (int channels, int format, int type=-1) | |
Construct a ILFormat from parameters. More... | |
bool | isValid () |
Return wether this structure represents a valid DevIL format. More... | |
Public Attributes | |
int | format |
IL_RGBA,IL_BGRA,IL_DXTx, ... More... | |
int | numberOfChannels |
Number of channels, usually 3 or 4. More... | |
int | type |
IL_UNSIGNED_BYTE, IL_UNSIGNED_SHORT, ... may be -1 for compressed formats. More... | |
Structure that encapsulates a devIL image format definition.
Definition at line 43 of file OgreILUtil.h.
|
inline |
Construct an invalidated ILFormat structure.
Definition at line 45 of file OgreILUtil.h.
|
inline |
Construct a ILFormat from parameters.
Definition at line 49 of file OgreILUtil.h.
|
inline |
Return wether this structure represents a valid DevIL format.
Definition at line 53 of file OgreILUtil.h.
int Ogre::ILUtil::ILFormat::format |
IL_RGBA,IL_BGRA,IL_DXTx, ...
Definition at line 58 of file OgreILUtil.h.
int Ogre::ILUtil::ILFormat::numberOfChannels |
Number of channels, usually 3 or 4.
Definition at line 56 of file OgreILUtil.h.
int Ogre::ILUtil::ILFormat::type |
IL_UNSIGNED_BYTE, IL_UNSIGNED_SHORT, ... may be -1 for compressed formats.
Definition at line 60 of file OgreILUtil.h.