#include <SO3DynamicCubeMap.h>
Public Member Functions | |
| SDynamicCubeMap (SScene *parent, std::string dynamicCubeMapName) | |
| ~SDynamicCubeMap () | |
| void | SetMaterial (SMaterial *targetMaterial, int targetTechnique, int targetPass, int targetTextureUnit) |
| void | SetSize (unsigned int newSize) |
| unsigned int | GetSize () |
| void | SetEnable (bool newState) |
| bool | GetEnable () |
| void | SetAutoUpdate (bool newAutoUpdateValue) |
| bool | GetAutoUpdate () |
| void | Update () |
| virtual void | preRenderTargetUpdate (const Ogre::RenderTargetEvent &evt) |
| virtual void | postRenderTargetUpdate (const Ogre::RenderTargetEvent &evt) |
| virtual Ogre::Technique * | handleSchemeNotFound (unsigned short schemeIndex, const Ogre::String &schemeName, Ogre::Material *originalMaterial, unsigned short lodIndex, const Ogre::Renderable *rend) |
| virtual bool | frameStarted (const Ogre::FrameEvent &evt) |
| virtual bool | frameEnded (const Ogre::FrameEvent &evt) |
| virtual void | loadResource (Ogre::Resource *resource) |
| virtual void | windowResized (Ogre::RenderWindow *rw) |
Definition at line 41 of file SO3DynamicCubeMap.h.
| SDynamicCubeMap::SDynamicCubeMap | ( | SScene * | parent, | |
| std::string | dynamicCubeMapName | |||
| ) |
Definition at line 18 of file SO3DynamicCubeMap.cpp.
| SDynamicCubeMap::~SDynamicCubeMap | ( | ) |
Definition at line 63 of file SO3DynamicCubeMap.cpp.
| bool SDynamicCubeMap::frameEnded | ( | const Ogre::FrameEvent & | evt | ) | [virtual] |
Definition at line 347 of file SO3DynamicCubeMap.cpp.
| bool SDynamicCubeMap::frameStarted | ( | const Ogre::FrameEvent & | evt | ) | [virtual] |
Definition at line 339 of file SO3DynamicCubeMap.cpp.
| bool SDynamicCubeMap::GetAutoUpdate | ( | ) |
Is the cube map is update every frame?
Definition at line 241 of file SO3DynamicCubeMap.cpp.
| bool SDynamicCubeMap::GetEnable | ( | ) |
Definition at line 199 of file SO3DynamicCubeMap.cpp.
| unsigned int SDynamicCubeMap::GetSize | ( | ) |
Definition at line 123 of file SO3DynamicCubeMap.cpp.
| Ogre::Technique * SDynamicCubeMap::handleSchemeNotFound | ( | unsigned short | schemeIndex, | |
| const Ogre::String & | schemeName, | |||
| Ogre::Material * | originalMaterial, | |||
| unsigned short | lodIndex, | |||
| const Ogre::Renderable * | rend | |||
| ) | [virtual] |
Definition at line 329 of file SO3DynamicCubeMap.cpp.
| void SDynamicCubeMap::loadResource | ( | Ogre::Resource * | resource | ) | [virtual] |
Definition at line 357 of file SO3DynamicCubeMap.cpp.
| void SDynamicCubeMap::postRenderTargetUpdate | ( | const Ogre::RenderTargetEvent & | evt | ) | [virtual] |
Definition at line 324 of file SO3DynamicCubeMap.cpp.
| void SDynamicCubeMap::preRenderTargetUpdate | ( | const Ogre::RenderTargetEvent & | evt | ) | [virtual] |
Definition at line 308 of file SO3DynamicCubeMap.cpp.
| void SDynamicCubeMap::SetAutoUpdate | ( | bool | newAutoUpdateValue | ) |
Set if the cube map is updated every frames (real dynamic cube map)/ If false, the cube map texture will be update only when material or enable is setted (it's not really a dynamic cube map, but a render time generated cube map). Default value is true.
Definition at line 204 of file SO3DynamicCubeMap.cpp.
| void SDynamicCubeMap::SetEnable | ( | bool | newState | ) |
Definition at line 176 of file SO3DynamicCubeMap.cpp.
| void SDynamicCubeMap::SetMaterial | ( | SMaterial * | targetMaterial, | |
| int | targetTechnique, | |||
| int | targetPass, | |||
| int | targetTextureUnit | |||
| ) |
Definition at line 128 of file SO3DynamicCubeMap.cpp.
| void SDynamicCubeMap::SetSize | ( | unsigned int | newSize | ) |
Definition at line 97 of file SO3DynamicCubeMap.cpp.
| void SDynamicCubeMap::Update | ( | ) |
Manually update the cube map (in case autoUpdate is false and we want update the cube map).
Definition at line 246 of file SO3DynamicCubeMap.cpp.
| void SDynamicCubeMap::windowResized | ( | Ogre::RenderWindow * | rw | ) | [virtual] |
Definition at line 370 of file SO3DynamicCubeMap.cpp.
1.6.3