#include <OgreILUtil.h>
Public Member Functions | |
ILFormat () | |
Construct an invalidated ILFormat structure. | |
ILFormat (int channels, int format, int type=-1) | |
Construct a ILFormat from parameters. | |
bool | isValid () |
Return wether this structure represents a valid DevIL format. | |
Public Attributes | |
int | numberOfChannels |
Number of channels, usually 3 or 4. | |
int | format |
IL_RGBA,IL_BGRA,IL_DXTx, ... | |
int | type |
IL_UNSIGNED_BYTE, IL_UNSIGNED_SHORT, ... may be -1 for compressed formats. |
Definition at line 44 of file OgreILUtil.h.
Ogre::ILUtil::ILFormat::ILFormat | ( | ) |
Ogre::ILUtil::ILFormat::ILFormat | ( | int | channels, | |
int | format, | |||
int | type = -1 | |||
) |
bool Ogre::ILUtil::ILFormat::isValid | ( | ) |
Return wether this structure represents a valid DevIL format.
Definition at line 54 of file OgreILUtil.h.
IL_UNSIGNED_BYTE, IL_UNSIGNED_SHORT, ... may be -1 for compressed formats.
Definition at line 61 of file OgreILUtil.h.
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Sep 27 22:03:42 2009