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

Interface for custom composition passes, allowing custom operations (in addition to the quad, scene and clear operations) in composition passes. More...

#include <OgreCustomCompositionPass.h>

Public Member Functions

virtual
CompositorInstance::RenderSystemOperation * 
createOperation (CompositorInstance *instance, const CompositionPass *pass)=0
 Create a custom composition operation. More...
 

Protected Member Functions

virtual ~CustomCompositionPass ()
 

Detailed Description

Interface for custom composition passes, allowing custom operations (in addition to the quad, scene and clear operations) in composition passes.

See also
CompositorManager::registerCustomCompositionPass

Definition at line 45 of file OgreCustomCompositionPass.h.

Constructor & Destructor Documentation

virtual Ogre::CustomCompositionPass::~CustomCompositionPass ( )
inlineprotectedvirtual

Definition at line 59 of file OgreCustomCompositionPass.h.

Member Function Documentation

virtual CompositorInstance::RenderSystemOperation* Ogre::CustomCompositionPass::createOperation ( CompositorInstance *  instance,
const CompositionPass *  pass 
)
pure virtual

Create a custom composition operation.

Parameters
passThe CompositionPass that triggered the request
instanceThe compositor instance that this operation will be performed in
Remarks
This call only happens once during creation. The RenderSystemOperation will get called each render.
The created operation must be instanciated using the OGRE_NEW macro.

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