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

Abstract class for compositor passes. More...

#include <OgreCompositorPass.h>

+ Inheritance diagram for Ogre::CompositorPass:
+ Collaboration diagram for Ogre::CompositorPass:

Public Member Functions

 CompositorPass (const CompositorPassDef *definition, const CompositorChannel &target, CompositorNode *parentNode)
 
virtual ~CompositorPass ()
 
virtual void execute (const Camera *lodCameraconst)=0
 
const CompositorPassDefgetDefinition (void) 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

uint32 mNumPassesLeft
 
CompositorNodemParentNode
 
RenderTargetmTarget
 
ViewportmViewport
 

Private Attributes

CompositorPassDef const * mDefinition
 

Detailed Description

Abstract class for compositor passes.

A pass can be a fullscreen quad, a scene rendering, a clear. etc. Derived classes are responsible for performing an actual job. Note that passes do not own RenderTargets, therefore we're not responsible for destroying it.

Author
Matias N. Goldberg
Version
1.0

Definition at line 59 of file OgreCompositorPass.h.

Constructor & Destructor Documentation

Ogre::CompositorPass::CompositorPass ( const CompositorPassDef definition,
const CompositorChannel target,
CompositorNode parentNode 
)
virtual Ogre::CompositorPass::~CompositorPass ( )
virtual

Member Function Documentation

RenderTarget* Ogre::CompositorPass::calculateRenderTarget ( size_t  rtIndex,
const CompositorChannel source 
)
protected
virtual void Ogre::CompositorPass::execute ( const Camera lodCameraconst)
pure virtual
const CompositorPassDef* Ogre::CompositorPass::getDefinition ( void  ) const
inline

Definition at line 93 of file OgreCompositorPass.h.

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

Definition at line 89 of file OgreCompositorPass.h.

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

Definition at line 91 of file OgreCompositorPass.h.

virtual void Ogre::CompositorPass::notifyCleared ( void  )
virtual
virtual void Ogre::CompositorPass::notifyDestroyed ( const CompositorChannel channel)
virtual
virtual void Ogre::CompositorPass::notifyRecreated ( const CompositorChannel oldChannel,
const CompositorChannel newChannel 
)
virtual
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

CompositorPassDef const* Ogre::CompositorPass::mDefinition
private

Definition at line 61 of file OgreCompositorPass.h.

uint32 Ogre::CompositorPass::mNumPassesLeft
protected

Definition at line 66 of file OgreCompositorPass.h.

CompositorNode* Ogre::CompositorPass::mParentNode
protected

Definition at line 68 of file OgreCompositorPass.h.

RenderTarget* Ogre::CompositorPass::mTarget
protected

Definition at line 63 of file OgreCompositorPass.h.

Viewport* Ogre::CompositorPass::mViewport
protected

Definition at line 64 of file OgreCompositorPass.h.


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