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

RenderPhotonHitPass Class Reference

Generates a texture of the surface normals. More...

#include <RenderPhotonHitPass.h>

Inheritance diagram for RenderPhotonHitPass:

ManagedOgreRenderTexturePass List of all members.

Public Member Functions

 RenderPhotonHitPass (Root *mRoot)
 Constructor.
 ~RenderPhotonHitPass ()
 Destructor.

Protected Member Functions

void onRenderStart (NameValuePairList *namedParams=0)
void onRenderEnd (NameValuePairList *namedParams=0)
float getPower ()
 Returns the value of g_fPower.
void setPower (float f)
 ! Sets the value of g_fPower.

Detailed Description

Generates a texture of the surface normals.

SuperClass: ManagedOgreRenderTexturePass Class: RenderPhotonHitPass The instances of this class are to generate a texture of the surface normals of the owner entity. The resulting texture is a PF_FLOAT32_RGBA type texture, where the X, Y and Z coordinates of the surface normals will be stored in the R, G and B coordinates of the render texture of this class.


Constructor & Destructor Documentation

RenderPhotonHitPass::RenderPhotonHitPass Root *  mRoot  ) 
 

Constructor.

Constructor.

Parameters:
mRoot Root, The root class of the Ogre system.


Member Function Documentation

void RenderPhotonHitPass::onRenderEnd NameValuePairList *  namedParams = 0  )  [protected, virtual]
 

Runs after the render-texture object is updatedplace all cleanup code here.

Parameters:
namedParams Contains named parameters for rendering end.

Reimplemented from ManagedOgreRenderTexturePass.

void RenderPhotonHitPass::onRenderStart NameValuePairList *  namedParams = 0  )  [protected, virtual]
 

Runs before the render-texture object is updated place all shader setup here.

Parameters:
namedParams A list of named parameters for rendering setup.

Reimplemented from ManagedOgreRenderTexturePass.

void RenderPhotonHitPass::setPower float  f  )  [protected]
 

! Sets the value of g_fPower.

Parameters:
f Contains the new value of g_fPower.


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