41 #ifndef _graphicsimage_h
42 #define _graphicsimage_h
45 #include "colourvalue.h"
46 #include "Graphics/graphicsenumerations.h"
58 class InternalImageData;
115 UInt8 GetBitsPerPixel()
const;
119 Whole GetNumFaces()
const;
122 Whole GetNumMipMaps()
const;
126 UInt8* GetImageData();
129 const UInt8* GetImageData()
const;
132 Whole GetSize()
const;
135 Whole GetRowSpan()
const;
139 Image& FlipAroundXAxis();
142 Image& FlipAroundYAxis();
199 Image& Load(std::istream* Stream,
const String& ExtensionHint =
"");
234 Image& Save(
const String& Extension, std::ostream* Stream);
242 Ogre::Image& _GetInternalImage()
const;
bool Boole
Generally acts a single bit, true or false.
All the definitions for datatypes as well as some basic conversion functions are defined here...
uint8_t UInt8
An 8-bit unsigned integer.
This is a simple class for holding 4 reals representing the colour any give object or lightsource can...
This class is used to store the internal structures needed by the Image class.
uint32_t UInt32
An 32-bit unsigned integer.
ProcessDepth Depth
The current process depth as interpretted by Main.
This class represents an image loaded into system memory.
PixelFormat
This is used to describe how bits are arraged for each pixel in an image.
InternalImageData * IID
A pointer to the internal implementation of the Image.
The bulk of the engine components go in this namspace.
unsigned long Whole
Whole is an unsigned integer, it will be at least 32bits in size.
ImageFileFormat
This enum describes the various file formats for images supported by the Mezzanine.
std::string String
A datatype used to a series of characters.