#include <Renderer_Ogre_Texture.h>
Inheritance diagram for OpenGUI::OgreStaticTexture:

Public Member Functions | |
| OgreStaticTexture () | |
| virtual | ~OgreStaticTexture () |
| virtual const Ogre::String & | getOgreTextureName () const |
| Returns the name of this texture as held by Ogre. | |
| void | loadFile (const String &filename, const String &resourceGroup) |
| loads a new texture from a file | |
| void | loadOgreTexture (Ogre::TexturePtr ogreTexture) |
| assigns an existing Ogre texture to this object | |
| void | loadFromTextureData (const TextureData *textureData, const String &groupName) |
| load a texture with the contents of an OpenGUI TextureData object (aka: from memory) | |
| virtual void | getOgreUVScale (float &u, float &v) |
| Pass through to OpenGUI::Texture::getUVs. | |
Protected Member Functions | |
| void | freeOgreTexture () |
| frees the attached Ogre texture. Infinitely recallable | |
| bool | validOgreTexture () |
| Returns true if this texture object is currently representing an Ogre texture. | |
Private Attributes | |
| bool | mNotOwner |
| Ogre::TexturePtr | mOgreTexturePtr |
|
|
|
|
|
|
|
|
frees the attached Ogre texture. Infinitely recallable
|
|
|
Returns the name of this texture as held by Ogre.
Implements OpenGUI::OgreTexture. |
|
||||||||||||
|
Pass through to OpenGUI::Texture::getUVs.
Implements OpenGUI::OgreTexture. |
|
||||||||||||
|
loads a new texture from a file
|
|
||||||||||||
|
load a texture with the contents of an OpenGUI TextureData object (aka: from memory)
|
|
|
assigns an existing Ogre texture to this object
|
|
|
Returns true if this texture object is currently representing an Ogre texture.
|
|
|
|
|
|
|