#include <irrlichttexture.h>
Inheritance diagram for CEGUI::IrrlichtTexture:
Public Member Functions | |
IrrlichtTexture (Renderer *r, irr::IrrlichtDevice *device) | |
virtual | ~IrrlichtTexture () |
irr::video::ITexture * | getTexture () |
void | setTexture (irr::video::ITexture *texture) |
virtual ushort | getWidth (void) const |
Returns the current pixel width of the texture. | |
virtual ushort | getHeight (void) const |
Returns the current pixel height of the texture. | |
virtual 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. | |
virtual void | loadFromMemory (const void *buffPtr, uint buffWidth, uint buffHeight) |
Loads (copies) an image in memory into the texture. The texture is resized as required to hold the image. | |
Renderer * | getRenderer (void) const |
Return a pointer to the Renderer object that created and owns this Texture. |
|
Definition at line 40 of file irrlichttexture.cpp. |
|
Definition at line 46 of file irrlichttexture.cpp. |
|
Returns the current pixel height of the texture.
Implements CEGUI::Texture. Definition at line 77 of file irrlichttexture.cpp. References CEGUI::ushort. |
|
Return a pointer to the Renderer object that created and owns this Texture.
Definition at line 113 of file CEGUITexture.h. Referenced by CEGUI::Imageset::draw(), CEGUI::DirectX81Texture::loadFromFile(), CEGUI::DirectX9Texture::loadFromFile(), CEGUI::DirectX81Texture::loadFromMemory(), CEGUI::DirectX9Texture::loadFromMemory(), CEGUI::DirectX81Texture::setD3DTextureSize(), CEGUI::DirectX9Texture::setD3DTextureSize(), and CEGUI::Imageset_xmlHandler::startElement(). |
|
Definition at line 50 of file irrlichttexture.cpp. |
|
Returns the current pixel width of the texture.
Implements CEGUI::Texture. Definition at line 71 of file irrlichttexture.cpp. References CEGUI::ushort. |
|
Loads the specified image file into the texture. The texture is resized as required to hold the image.
Implements CEGUI::Texture. Definition at line 83 of file irrlichttexture.cpp. References CEGUI::String::c_str(). Referenced by CEGUI::IrrlichtRenderer::createTexture(). |
|
Loads (copies) an image in memory into the texture. The texture is resized as required to hold the image.
Implements CEGUI::Texture. Definition at line 92 of file irrlichttexture.cpp. |
|
Definition at line 55 of file irrlichttexture.cpp. |