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

PreComputingRun Class Reference

Precomputing run superclass. Subclasses store and update precompution results. More...

#include <PreComputingRun.h>

Inheritance diagram for PreComputingRun:

RenderingRun CausticMapRenderingRun FresnelEnvironmentRun ImageLightingSamplesRun LightMapRenderingRun PhotonMapFilteringRenderingRun PRMRun SoftShadowMapRenderingRun VRMRenderingRun List of all members.

Public Member Functions

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.
virtual void update ()=0

Detailed Description

Precomputing run superclass. Subclasses store and update precompution results.

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& 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, PRMRun, FresnelEnvironmentRun, SoftShadowMapRenderingRun, and VRMRenderingRun.

virtual void update  )  [pure virtual]
 

re-compute contained data

Implemented in CausticMapRenderingRun, ImageLightingSamplesRun, LightMapRenderingRun, PhotonMapFilteringRenderingRun, PRMRun, FresnelEnvironmentRun, SoftShadowMapRenderingRun, and VRMRenderingRun.


The documentation for this class was generated from the following file:
Generated on Mon Apr 18 10:59:28 2005 for OGRE_IllumModule by  doxygen 1.4.2