OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::CompositorPassScene Class Reference

Implementation of CompositorPass This implementation will perform main rendering, selecting several parameters (like viewport's visibility mask, first and last render queue to render) it will render the main scene. More...

#include <OgreCompositorPassScene.h>

+ Inheritance diagram for Ogre::CompositorPassScene:
+ Collaboration diagram for Ogre::CompositorPassScene:

Public Member Functions

 CompositorPassScene (const CompositorPassSceneDef *definition, Camera *defaultCamera, const CompositorChannel &target, CompositorNode *parentNode)
 Constructor. More...
 
 ~CompositorPassScene ()
 
void _setCustomCamera (Camera *camera)
 
void _setUpdateShadowNode (bool update)
 
virtual void execute (const Camera *lodCamera)
 
CameragetCamera () const
 
const CompositorPassSceneDefgetDefinition () const
 
CompositorShadowNodegetShadowNode () const
 
CompositorPassType getType () const
 
ViewportgetViewport () const
 
virtual void notifyCleared (void)
 CompositorNode::_notifyCleared More...
 
virtual void notifyDestroyed (const CompositorChannel &channel)
 CompositorNode::notifyDestroyed More...
 
virtual void notifyRecreated (const CompositorChannel &oldChannel, const CompositorChannel &newChannel)
 CompositorNode::notifyRecreated More...
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, void *)
 
void operator delete (void *ptr, const char *, int, const char *)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, const char *, int, const char *)
 
void * operator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info More...
 
void * operator new (size_t sz)
 
void * operator new (size_t sz, void *ptr)
 placement operator new More...
 
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info More...
 
void * operator new[] (size_t sz)
 

Protected Member Functions

RenderTargetcalculateRenderTarget (size_t rtIndex, const CompositorChannel &source)
 

Protected Attributes

CameramCamera
 
CameramLodCamera
 
uint32 mNumPassesLeft
 
CompositorNodemParentNode
 
CompositorShadowNodemShadowNode
 
RenderTargetmTarget
 
bool mUpdateShadowNode
 
ViewportmViewport
 

Private Attributes

CompositorPassSceneDef const * mDefinition
 

Detailed Description

Implementation of CompositorPass This implementation will perform main rendering, selecting several parameters (like viewport's visibility mask, first and last render queue to render) it will render the main scene.

into the specified RenderTarget

Author
Matias N. Goldberg
Version
1.0

Definition at line 60 of file OgreCompositorPassScene.h.

Constructor & Destructor Documentation

Ogre::CompositorPassScene::CompositorPassScene ( const CompositorPassSceneDef definition,
Camera defaultCamera,
const CompositorChannel target,
CompositorNode parentNode 
)

Constructor.

Parameters
definition
defaultCameraUsed when the definition's camera name is empty
workspaceWorkspace that ultimately owns us
targetThe RenderTarget we're supposed to draw to. Can be RenderWindow, RenderTexture, MRT, etc
Ogre::CompositorPassScene::~CompositorPassScene ( )

Member Function Documentation

void Ogre::CompositorPassScene::_setCustomCamera ( Camera camera)
inline

Definition at line 87 of file OgreCompositorPassScene.h.

void Ogre::CompositorPassScene::_setUpdateShadowNode ( bool  update)
inline

Definition at line 88 of file OgreCompositorPassScene.h.

RenderTarget* Ogre::CompositorPass::calculateRenderTarget ( size_t  rtIndex,
const CompositorChannel source 
)
protectedinherited
virtual void Ogre::CompositorPassScene::execute ( const Camera lodCamera)
virtual

Implements Ogre::CompositorPass.

Camera* Ogre::CompositorPassScene::getCamera ( ) const
inline

Definition at line 86 of file OgreCompositorPassScene.h.

const CompositorPassSceneDef* Ogre::CompositorPassScene::getDefinition ( void  ) const
inline

Definition at line 92 of file OgreCompositorPassScene.h.

CompositorShadowNode* Ogre::CompositorPassScene::getShadowNode ( ) const
inline

Definition at line 85 of file OgreCompositorPassScene.h.

CompositorPassType Ogre::CompositorPass::getType ( void  ) const
inlineinherited

Definition at line 89 of file OgreCompositorPass.h.

Viewport* Ogre::CompositorPass::getViewport ( ) const
inlineinherited

Definition at line 91 of file OgreCompositorPass.h.

virtual void Ogre::CompositorPassScene::notifyCleared ( void  )
virtual
virtual void Ogre::CompositorPass::notifyDestroyed ( const CompositorChannel channel)
virtualinherited
virtual void Ogre::CompositorPass::notifyRecreated ( const CompositorChannel oldChannel,
const CompositorChannel newChannel 
)
virtualinherited
template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr)
inlineinherited

Definition at line 96 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
void *   
)
inlineinherited

Definition at line 102 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

Definition at line 108 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr)
inlineinherited

Definition at line 113 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

Definition at line 119 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

operator new, with debug line info

Definition at line 68 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz)
inlineinherited

Definition at line 73 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
void *  ptr 
)
inlineinherited

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

array operator new, with debug line info

Definition at line 86 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz)
inlineinherited

Definition at line 91 of file OgreMemoryAllocatedObject.h.

Member Data Documentation

Camera* Ogre::CompositorPassScene::mCamera
protected

Definition at line 65 of file OgreCompositorPassScene.h.

CompositorPassSceneDef const* Ogre::CompositorPassScene::mDefinition
private

Definition at line 62 of file OgreCompositorPassScene.h.

Camera* Ogre::CompositorPassScene::mLodCamera
protected

Definition at line 66 of file OgreCompositorPassScene.h.

uint32 Ogre::CompositorPass::mNumPassesLeft
protectedinherited

Definition at line 66 of file OgreCompositorPass.h.

CompositorNode* Ogre::CompositorPass::mParentNode
protectedinherited

Definition at line 68 of file OgreCompositorPass.h.

CompositorShadowNode* Ogre::CompositorPassScene::mShadowNode
protected

Definition at line 64 of file OgreCompositorPassScene.h.

RenderTarget* Ogre::CompositorPass::mTarget
protectedinherited

Definition at line 63 of file OgreCompositorPass.h.

bool Ogre::CompositorPassScene::mUpdateShadowNode
protected

Definition at line 67 of file OgreCompositorPassScene.h.

Viewport* Ogre::CompositorPass::mViewport
protectedinherited

Definition at line 64 of file OgreCompositorPass.h.


The documentation for this class was generated from the following file: