PagedGeometry
1.3.0
|
Public Member Functions | |
void | regenerate () |
![]() | |
virtual void | prepareResource (Resource *resource) |
Static Public Member Functions | |
static ImpostorTexture * | getTexture (ImpostorPage *group, Ogre::Entity *entity) |
Returns a pointer to an ImpostorTexture for the specified entity. More... | |
static void | removeTexture (ImpostorTexture *Texture) |
remove created texture, note that all of the ImposterTextures must be deleted at once, because there is no track if a texture is still being used by something else | |
static void | regenerateAll () |
Protected Member Functions | |
ImpostorTexture (ImpostorPage *group, Ogre::Entity *entity) | |
void | renderTextures (bool force) |
void | updateMaterials () |
Static Protected Member Functions | |
static Ogre::String | getUniqueID (const Ogre::String &prefix) |
Protected Attributes | |
Ogre::SceneManager * | sceneMgr |
Ogre::Entity * | entity |
Ogre::String | entityKey |
ImpostorPage * | group |
Ogre::MaterialPtr | material [IMPOSTOR_PITCH_ANGLES][IMPOSTOR_YAW_ANGLES] |
Ogre::TexturePtr | texture |
Ogre::ResourceHandle | sourceMesh |
Ogre::AxisAlignedBox | boundingBox |
Ogre::Real | entityDiameter |
Ogre::Real | entityRadius |
Ogre::Vector3 | entityCenter |
Static Protected Attributes | |
static std::map< Ogre::String, ImpostorTexture * > | selfList |
static unsigned long | GUID = 0 |
Friends | |
class | ImpostorBatch |
class | ImpostorTextureResourceLoader |
|
static |
Returns a pointer to an ImpostorTexture for the specified entity.
If one does not already exist, one will automatically be created.
Referenced by Forests::ImpostorPage::regenerate().