|
|
IDirectFBSurface * | getDirectFBSurface () const |
| | Return a pointer to the IDirectFBSurface this texture represents.
|
| |
| 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...
|
| |
|
|
| DirectFBTexture (IDirectFB &directfb, const String &name) |
| | Basic constructor.
|
| |
|
| DirectFBTexture (IDirectFB &directfb, const String &name, const String &filename, const String &resourceGroup) |
| | Construct texture from file.
|
| |
|
| DirectFBTexture (IDirectFB &directfb, const String &name, const Sizef &size) |
| | Construct texture with given size.
|
| |
|
| ~DirectFBTexture () |
| | Destructor.
|
| |
|
void | cleanupDirectFBTexture () |
| | clean up the internal texture.
|
| |
|
void | updateCachedScaleValues () |
| | updates cached scale value used to map pixels to texture co-ords.
|
| |
Implementation of CEGUI::Texture interface using DirectFB.