|
void | setIrrlichtTexture (irr::video::ITexture *tex) |
| set the underlying Irrlicht texture represented by this Texture.
|
|
irr::video::ITexture * | getIrrlichtTexture () const |
| return a pointer to the Irrlicht texture represented by this Texture.
|
|
void | setOriginalDataSize (const Sizef &sz) |
| Sets what the texture should consider as the original data size. More...
|
|
const String & | getName () const |
| Returns the name given to the texture when it was created. More...
|
|
const Sizef & | getSize () const |
| Returns the current pixel size of the texture. More...
|
|
const Sizef & | getOriginalDataSize () const |
| Returns the original pixel size of the data loaded into the texture. More...
|
|
const Vector2f & | getTexelScaling () const |
| Returns pixel to texel scale values that should be used for converting pixel values to texture co-ords. More...
|
|
void | loadFromFile (const String &filename, const String &resourceGroup) |
| Loads the specified image file into the texture. The texture is resized as required to hold the image. More...
|
|
void | loadFromMemory (const void *buffer, const Sizef &buffer_size, PixelFormat pixel_format) |
| Loads (copies) an image in memory into the texture. The texture is resized as required to hold the image. More...
|
|
void | blitFromMemory (const void *sourceData, const Rectf &area) |
| Performs an area memory blit to the texture. More...
|
|
void | blitToMemory (void *targetData) |
| Performs a complete blit from the texture surface to memory. More...
|
|
bool | isPixelFormatSupported (const PixelFormat fmt) const |
| Return whether the specified pixel format is supported by the system for the CEGUI::Texture implementation. More...
|
|
virtual | ~Texture () |
| Destructor for Texture base class.
|
|
virtual const String & | getName () const =0 |
| Returns the name given to the texture when it was created. More...
|
|
virtual const Sizef & | getSize () const =0 |
| Returns the current pixel size of the texture. More...
|
|
virtual const Sizef & | getOriginalDataSize () const =0 |
| Returns the original pixel size of the data loaded into the texture. More...
|
|
virtual const Vector2f & | getTexelScaling () const =0 |
| Returns pixel to texel scale values that should be used for converting pixel values to texture co-ords. More...
|
|
virtual void | loadFromFile (const String &filename, const String &resourceGroup)=0 |
| Loads the specified image file into the texture. The texture is resized as required to hold the image. More...
|
|
virtual void | loadFromMemory (const void *buffer, const Sizef &buffer_size, PixelFormat pixel_format)=0 |
| Loads (copies) an image in memory into the texture. The texture is resized as required to hold the image. More...
|
|
virtual void | blitFromMemory (const void *sourceData, const Rectf &area)=0 |
| Performs an area memory blit to the texture. More...
|
|
virtual void | blitToMemory (void *targetData)=0 |
| Performs a complete blit from the texture surface to memory. More...
|
|
virtual bool | isPixelFormatSupported (const PixelFormat fmt) const =0 |
| Return whether the specified pixel format is supported by the system for the CEGUI::Texture implementation. More...
|
|
|
| IrrlichtTexture (IrrlichtRenderer &owner, irr::video::IVideoDriver &driver, const String &name) |
| Construct a basic texture.
|
|
| IrrlichtTexture (IrrlichtRenderer &owner, irr::video::IVideoDriver &driver, const String &name, const String &filename, const String &resourceGroup) |
| Construct a texture from the specified file.
|
|
| IrrlichtTexture (IrrlichtRenderer &owner, irr::video::IVideoDriver &driver, const String &name, const Sizef &size) |
| Construct a texture with the given size.
|
|
| ~IrrlichtTexture () |
| destructor.
|
|
void | createIrrlichtTexture (const Sizef &sz) |
| create the underlying Irrlicht texture with the given size
|
|
void | freeIrrlichtTexture () |
| release the underlying irrlicht texture currently used.
|
|
void | updateCachedScaleValues () |
| updates cached scale value used to map pixels to texture co-ords.
|
|
Implementation of the CEGUI::Texture class for the Irrlicht engine.