#include <OgreILUtil.h>
Static Public Member Functions | |
PixelFormat | ilFormat2OgreFormat (int ImageFormat, int ImageType) |
Get OGRE format to which a given IL format can be most optimally converted. | |
ILFormat | OgreFormat2ilFormat (PixelFormat format) |
Get IL format that matches a given OGRE format exactly in memory. | |
void | toOgre (const PixelBox &dst) |
Convert current IL image to an OGRE format. | |
void | fromOgre (const PixelBox &src) |
Convert an OGRE format image to current IL image. |
|
Convert an OGRE format image to current IL image.
|
|
Get OGRE format to which a given IL format can be most optimally converted.
|
|
Get IL format that matches a given OGRE format exactly in memory.
|
|
Convert current IL image to an OGRE format. The size of the target will be PixelUtil::getNumElemBytes(fmt) * ilGetInteger( IL_IMAGE_WIDTH ) * ilGetInteger( IL_IMAGE_HEIGHT ) * ilGetInteger( IL_IMAGE_DEPTH ) The IL image type must be IL(_UNSIGNED_)BYTE or IL_FLOAT. The IL image format must be IL_RGBA, IL_BGRA, IL_RGB, IL_BGR, IL_LUMINANCE or IL_LUMINANCE_ALPHA
|
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:39:22 2006