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

IBLDepthMapPass Class Reference

Renders a depth map for a directional light sample. More...

#include <IBLDepthMapPass.h>

Inheritance diagram for IBLDepthMapPass:

ManagedOgreRenderTexturePass List of all members.

Public Member Functions

const Matrix4 & getDepthViewMatrix ()
const Matrix4 & getScaleMatrix ()
Sphere getSceneBoundingSphere ()
 IBLDepthMapPass (Root *mRoot, const String &renderTextureName, unsigned int width, unsigned int height, TextureType texType=TEX_TYPE_2D)
void setOrigDir (const Vector3 &origDir)
void setSceneBoundingSphere (const Sphere &sphere)
 ~IBLDepthMapPass ()

Protected Member Functions

void onRenderEnd (NameValuePairList *namedParams=0)
 Runs after the render-texture object is updated place all cleanup code here.
void onRenderStart (NameValuePairList *namedParams=0)
 Runs before the render-texture object is updated place all shader setup here.

Private Attributes

Matrix4 depthViewMatrix
Vector3 origDir
Matrix4 scaleMatrix
Sphere sphere

Detailed Description

Renders a depth map for a directional light sample.


Constructor & Destructor Documentation

IBLDepthMapPass Root *  mRoot,
const String &  renderTextureName,
unsigned int  width,
unsigned int  height,
TextureType  texType = TEX_TYPE_2D
 

~IBLDepthMapPass  ) 
 


Member Function Documentation

const Matrix4& getDepthViewMatrix  )  [inline]
 

const Matrix4& getScaleMatrix  )  [inline]
 

Sphere getSceneBoundingSphere  )  [inline]
 

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 setOrigDir const Vector3 &  origDir  )  [inline]
 

void setSceneBoundingSphere const Sphere &  sphere  )  [inline]
 


Member Data Documentation

Matrix4 depthViewMatrix [private]
 

Vector3 origDir [private]
 

Matrix4 scaleMatrix [private]
 

Sphere sphere [private]
 


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