Main Page | Class Hierarchy | Class List | Directories | Class Members

PreComputingRun Class Reference

#include <PreComputingRun.h>

Inheritance diagram for PreComputingRun:

RenderingRun CausticMapRenderingRun ImageLightingSamplesRun LightMapRenderingRun PhotonMapFilteringRenderingRun PRMRun List of all members.

Public Member Functions

virtual void update ()=0
virtual const String & getResultTextureName ()
 This method is provided for naming consistence. Special PreComputingRuns, if any, where the result is not a texture, may ignore this method. Further methods may be added to retrieve additional texture names or references non-texture results.

Detailed Description

Entity-contained PreComputingRun subclasses should receive (and store) an 'Entity* owner' pointer as a constructor parameter. This provides an convenient way to directly access Ogre::Material data and textures, or results of previous PreComputingRuns.


Member Function Documentation

virtual const String& PreComputingRun::getResultTextureName  )  [inline, virtual]
 

This method is provided for naming consistence. Special PreComputingRuns, if any, where the result is not a texture, may ignore this method. Further methods may be added to retrieve additional texture names or references non-texture results.

Returns:
the main result texture's name

Reimplemented in CausticMapRenderingRun, LightMapRenderingRun, PhotonMapFilteringRenderingRun, and PRMRun.

virtual void PreComputingRun::update  )  [pure virtual]
 

re-compute contained data

Implemented in CausticMapRenderingRun, ImageLightingSamplesRun, LightMapRenderingRun, PhotonMapFilteringRenderingRun, and PRMRun.


The documentation for this class was generated from the following file:
Generated on Mon Apr 18 09:57:36 2005 for OGRE_IllumModule by  doxygen 1.4.2