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

RenderCubeMapUVPass Class Reference

Generates a CubeMap to store UV information about the surrounding of the entity. More...

#include <RenderCubeMapUVPass.h>

Inheritance diagram for RenderCubeMapUVPass:

ManagedOgreRenderTexturePass List of all members.

Public Member Functions

 RenderCubeMapUVPass (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.
 ~RenderCubeMapUVPass ()
 Destructor.

Protected Member Functions

Matrix4 getWorldViewProj ()
 Returns the value of g_mWorldViewProj matrix.
void onRenderEnd (NameValuePairList *namedParams=0)
void onRenderStart (NameValuePairList *namedParams=0)
void setWorldViewProj (Matrix4 matrix4)
 Sets the value of g_mWorldViewProj matrix.

Private Attributes

Matrix4 g_mWorldViewProj
 Contains the WoldViewProj matrix.

Detailed Description

Generates a CubeMap to store UV information about the surrounding of the entity.

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


Constructor & Destructor Documentation

RenderCubeMapUVPass 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.

~RenderCubeMapUVPass  )  [inline]
 

Destructor.


Member Function Documentation

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 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_mWorldViewProj [private]
 

Contains the WoldViewProj matrix.


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