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

RenderPhotonUVMapPass Class Reference

Generates a texture to store UV information about the PhotonHits. More...

#include <RenderPhotonUVMapPass.h>

Inheritance diagram for RenderPhotonUVMapPass:

ManagedOgreRenderTexturePass List of all members.

Public Member Functions

 RenderPhotonUVMapPass (Root *mRoot, const String &renderTextureName, unsigned int width, unsigned int height, TextureType texType=TEX_TYPE_2D, PixelFormat internalFormat=PF_X8R8G8B8, const NameValuePairList *miscParams=0, bool fullScreenQuadRenderer=false)
 Constructor.
 ~RenderPhotonUVMapPass ()
 Destructor.

Protected Member Functions

Vector3 getLightPos3f ()
 Returns the value of g_vLightPos3f.
Matrix4 getWorldEntityMesh ()
 Returns the value of g_mWorldEntityMesh matrix.
Matrix4 getWorldViewProj ()
 Returns the value of g_mWorldViewProj matrix.
void onRenderEnd (NameValuePairList *namedParams=0)
void onRenderStart (NameValuePairList *namedParams=0)
void setLightPos3f (Vector3 vector3)
 Sets the value of g_vLightPos3f.
void setWorldEntityMesh (Matrix4 matrix4)
 Sets the value of g_mWorldEntityMesh matrix.
void setWorldViewProj (Matrix4 matrix4)
 Sets the value of g_mWorldViewProj matrix.

Private Attributes

Matrix4 g_mWorldEntityMesh
 Contains the world matrix of the center object.
Matrix4 g_mWorldViewProj
 Contains the WoldViewProj matrix.
Vector3 g_vLightPos3f
 Contains the position of the Light.

Detailed Description

Generates a texture to store UV information about the PhotonHits.

SuperClass: ManagedOgreRenderTexturePass Class: RenderPhotonUVMapPass The instances of this class are to generate a texture. The resulting texture is a PF_FLOAT32_RGBA type texture.


Constructor & Destructor Documentation

RenderPhotonUVMapPass Root *  mRoot,
const String &  renderTextureName,
unsigned int  width,
unsigned int  height,
TextureType  texType = TEX_TYPE_2D,
PixelFormat  internalFormat = PF_X8R8G8B8,
const NameValuePairList *  miscParams = 0,
bool  fullScreenQuadRenderer = false
 

Constructor.

Constructor.

Parameters:
mRoot Root, The root class of the Ogre system.
renderTextureName String, The target of the rendering.
width int, The width of the texture.
height int, The height of the texture.
texType TextureType, Texure type.
internalFormat PixelFormat, Format of the pixel.
miscParams NameValuePairList, Pairs for names and values.
fullScreenQuadRenderer bool, Do we render a full screen quad.

~RenderPhotonUVMapPass  )  [inline]
 

Destructor.


Member Function Documentation

Vector3 getLightPos3f  )  [protected]
 

Returns the value of g_vLightPos3f.

Matrix4 getWorldEntityMesh  )  [protected]
 

Returns the value of g_mWorldEntityMesh matrix.

Matrix4 getWorldViewProj  )  [protected]
 

Returns the value of g_mWorldViewProj matrix.

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

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

Parameters:
namedParams Contains named parameters for rendering end.

Reimplemented from ManagedOgreRenderTexturePass.

void 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 setLightPos3f Vector3  vector3  )  [protected]
 

Sets the value of g_vLightPos3f.

Parameters:
vector3 Contains the new value of g_vLightPos3f.

void setWorldEntityMesh Matrix4  matrix4  )  [protected]
 

Sets the value of g_mWorldEntityMesh matrix.

Parameters:
matrix4 Contains the new value of g_mWorldEntityMesh matrix.

void setWorldViewProj Matrix4  matrix4  )  [protected]
 

Sets the value of g_mWorldViewProj matrix.

Parameters:
matrix4 Contains the new value of g_mWorldViewProj matrix.


Member Data Documentation

Matrix4 g_mWorldEntityMesh [private]
 

Contains the world matrix of the center object.

Matrix4 g_mWorldViewProj [private]
 

Contains the WoldViewProj matrix.

Vector3 g_vLightPos3f [private]
 

Contains the position of the Light.


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