An image in system memory, which can hold multiple faces (cubemaps) and mipmap levels.
color getColourAt(uint32 x, uint32 y, uint32 z)
Gets the colour of the pixel at the given position.
uint getNumMipmaps()
Number of mipmaps, excluding the base level.
Image & flipAroundX()
Flips (mirrors) the image around the X axis (upside down), in place.
uint getSize()
Size of the image data, in bytes.
Image & opAssign(const Image &in other)
Image & flipAroundY()
Flips (mirrors) the image around the Y axis (left to right), in place.
void resize(uint16 width, uint16 height, ImageFilter filter)
Resizes the image in place, resampling the pixels.
Image(const Image &in other)
Creates a copy of the image, including pixel data.
uint getHeight()
Height of the image, in pixels.
void setColourAt(const color &c, uint32 x, uint32 y, uint32 z)
Sets the colour of the pixel at the given position, converting it to the image's pixel format.
PixelBox getPixelBox(uint face, uint mipmap)
Returns a PixelBox pointing into the image's memory.
uint getNumFaces()
Number of faces - 6 for cubemaps, 1 otherwise.
Image()
Creates an empty image.
uint getWidth()
Width of the image, in pixels.
A box of pixels in memory, with a known pixel format.
ImageFilter
Binding of enum Ogre::Image::Filter
OGRE-AngelScript bindings; Actually named Ogre in the scripts, just changed for docs to separate thin...