Crazy Eddie's GUI System
${CEGUI_VERSION}
|
Public Member Functions | |
virtual void | blitFromMemory (void const *sourceData,::CEGUI::Rectf const &area) |
virtual void | blitToMemory (void *targetData) |
Performs a complete blit from the texture surface to memory. More... | |
virtual ::CEGUI::String const & | getName () const |
Returns the name given to the texture when it was created. More... | |
virtual ::CEGUI::Sizef const & | getOriginalDataSize () const |
Returns the original pixel size of the data loaded into the texture. More... | |
virtual ::CEGUI::Sizef const & | getSize () const |
Returns the current pixel size of the texture. More... | |
virtual ::CEGUI::Vector2f const & | getTexelScaling () const |
Returns pixel to texel scale values that should be used for converting pixel values to texture co-ords. More... | |
virtual bool | isPixelFormatSupported (::CEGUI::Texture::PixelFormat const fmt) const |
virtual void | loadFromFile (::CEGUI::String const &filename,::CEGUI::String const &resourceGroup) |
virtual void | loadFromMemory (void const *buffer,::CEGUI::Sizef const &buffer_size,::CEGUI::Texture::PixelFormat pixel_format) |
![]() | |
virtual | ~Texture () |
Destructor for Texture base class. | |
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 bool | isPixelFormatSupported (const PixelFormat fmt) const =0 |
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 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 bool | isPixelFormatSupported (const PixelFormat fmt) const =0 |
Return whether the specified pixel format is supported by the system for the CEGUI::Texture implementation. More... | |
Additional Inherited Members | |
![]() | |
enum | PixelFormat { PF_RGB, PF_RGBA, PF_RGBA_4444, PF_RGB_565, PF_PVRTC2, PF_PVRTC4, PF_RGB_DXT1, PF_RGBA_DXT1, PF_RGBA_DXT3, PF_RGBA_DXT5, PF_RGB, PF_RGBA, PF_RGBA_4444, PF_RGB_565, PF_PVRTC2, PF_PVRTC4, PF_RGB_DXT1, PF_RGBA_DXT1, PF_RGBA_DXT3, PF_RGBA_DXT5 } |
Enumerated type containing the supported pixel formats that can be passed to loadFromMemory. More... | |
enum | PixelFormat { PF_RGB, PF_RGBA, PF_RGBA_4444, PF_RGB_565, PF_PVRTC2, PF_PVRTC4, PF_RGB_DXT1, PF_RGBA_DXT1, PF_RGBA_DXT3, PF_RGBA_DXT5, PF_RGB, PF_RGBA, PF_RGBA_4444, PF_RGB_565, PF_PVRTC2, PF_PVRTC4, PF_RGB_DXT1, PF_RGBA_DXT1, PF_RGBA_DXT3, PF_RGBA_DXT5 } |
Enumerated type containing the supported pixel formats that can be passed to loadFromMemory. More... | |
|
inlinevirtual |
Performs a complete blit from the texture surface to memory.
targetData | the buffer where the target is stored |
Implements CEGUI::Texture.
|
inlinevirtual |
Returns the name given to the texture when it was created.
Implements CEGUI::Texture.
|
inlinevirtual |
Returns the original pixel size of the data loaded into the texture.
Implements CEGUI::Texture.
|
inlinevirtual |
Returns the current pixel size of the texture.
Implements CEGUI::Texture.
|
inlinevirtual |
Returns pixel to texel scale values that should be used for converting pixel values to texture co-ords.
Implements CEGUI::Texture.
References CEGUI::Texture::blitFromMemory(), CEGUI::Texture::blitToMemory(), CEGUI::Texture::getName(), CEGUI::Texture::getOriginalDataSize(), CEGUI::Texture::getSize(), CEGUI::Texture::getTexelScaling(), CEGUI::Texture::isPixelFormatSupported(), CEGUI::Texture::loadFromFile(), CEGUI::Texture::loadFromMemory(), CEGUI::Texture::PF_PVRTC2, CEGUI::Texture::PF_PVRTC4, CEGUI::Texture::PF_RGB, CEGUI::Texture::PF_RGB_565, CEGUI::Texture::PF_RGB_DXT1, CEGUI::Texture::PF_RGBA, CEGUI::Texture::PF_RGBA_4444, CEGUI::Texture::PF_RGBA_DXT1, CEGUI::Texture::PF_RGBA_DXT3, and CEGUI::Texture::PF_RGBA_DXT5.