A box of pixels in memory, with a known pixel format.
uint getHeight()
Height of the box, in pixels.
uint getWidth()
Width of the box, in pixels.
color getColourAt(uint32 x, uint32 y, uint32 z)
Gets the colour of the pixel at the given position.
PixelBox(const PixelBox &in other)
Creates a copy referencing the same memory.
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 box's pixel format.
PixelBox()
Creates an empty PixelBox which points to no memory.
uint getDepth()
Depth of the box, in pixels (1 for 2D images).
PixelBox & opAssign(const PixelBox &in other)
OGRE-AngelScript bindings; Actually named Ogre in the scripts, just changed for docs to separate thin...