Frapper  1.0a
Public Member Functions | Protected Attributes | List of all members
AdvancedRenderNode::MaterialSwitcher Class Reference

class to handle material switching without having to modify scene materials individually More...

#include <AdvancedRenderNode.h>

Inheritance diagram for AdvancedRenderNode::MaterialSwitcher:
Inheritance graph
[legend]
Collaboration diagram for AdvancedRenderNode::MaterialSwitcher:
Collaboration graph
[legend]

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_mrtTechnique
 
Ogre::Technique * m_wrinkleMappingTechnique
 

Detailed Description

class to handle material switching without having to modify scene materials individually

Constructor & Destructor Documentation

AdvancedRenderNode::MaterialSwitcher::MaterialSwitcher ( )

Constructor of the MaterialSwitcher class.

AdvancedRenderNode::MaterialSwitcher::~MaterialSwitcher ( )
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.

Member Function Documentation

Ogre::Technique * AdvancedRenderNode::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.

Returns
The width of the render target.

Member Data Documentation

Ogre::Technique* AdvancedRenderNode::MaterialSwitcher::m_mrtTechnique
protected
Ogre::Technique* AdvancedRenderNode::MaterialSwitcher::m_wrinkleMappingTechnique
protected

The documentation for this class was generated from the following files: