Frapper
1.0a
|
class to handle material switching without having to modify scene materials individually More...
#include <ShadowMapRenderNode.h>
Public Member Functions | |
MaterialSwitcher () | |
Constructor of the MaterialSwitcher class. | |
virtual | ~MaterialSwitcher () |
Destructor of the MaterialSwitcher class. | |
Ogre::Technique * | handleSchemeNotFound (unsigned short schemeIndex, const Ogre::String &schemeName, Ogre::Material *originalMaterial, unsigned short lodIndex, const Ogre::Renderable *rend) |
Returns the width of the render target. | |
Protected Attributes | |
Ogre::Technique * | m_shadowTechnique |
class to handle material switching without having to modify scene materials individually
ShadowMapRenderNode::MaterialSwitcher::MaterialSwitcher | ( | ) |
Constructor of the MaterialSwitcher class.
Constructors and Destructors.
|
virtual |
Destructor of the MaterialSwitcher class.
Defined virtual to guarantee that the destructor of a derived class will be called if the instance of the derived class is saved in a variable of its parent class type.
Ogre::Technique * ShadowMapRenderNode::MaterialSwitcher::handleSchemeNotFound | ( | unsigned short | schemeIndex, |
const Ogre::String & | schemeName, | ||
Ogre::Material * | originalMaterial, | ||
unsigned short | lodIndex, | ||
const Ogre::Renderable * | rend | ||
) |
Returns the width of the render target.
Public Functions.
|
protected |