Public Types | Public Member Functions | Private Attributes
Ogre::CompositionTargetPass Class Reference

Object representing one render to a RenderTarget or Viewport in the Ogre Composition framework. More...

#include <OgreCompositionTargetPass.h>

Inheritance diagram for Ogre::CompositionTargetPass:
Inheritance graph
[legend]

List of all members.

Public Types

enum  InputMode { IM_NONE, IM_PREVIOUS }
 Input mode of a TargetPass. More...
typedef vector
< CompositionPass * >::type 
Passes
typedef VectorIterator< PassesPassIterator

Public Member Functions

 CompositionTargetPass (CompositionTechnique *parent)
 ~CompositionTargetPass ()
bool _isSupported (void)
 Determine if this target pass is supported on the current rendering device.
CompositionPasscreatePass ()
 Create a new pass, and return a pointer to it.
InputMode getInputMode () const
 Get input mode.
float getLodBias ()
 Get the scene LOD bias used by this pass.
const StringgetMaterialScheme (void) const
 Get the material scheme used by this target pass.
size_t getNumPasses ()
 Get the number of passes.
bool getOnlyInitial ()
 Get "only initial" flag.
const StringgetOutputName () const
 Get output local texture name.
CompositionTechniquegetParent ()
 Get parent object.
CompositionPassgetPass (size_t idx)
 Get a pass.
PassIterator getPassIterator (void)
 Get an iterator over the Passes in this TargetPass.
bool getShadowsEnabled (void) const
 Get whether shadows are enabled in this target pass.
uint32 getVisibilityMask ()
 Get the scene visibility mask used by this pass.
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
void * operator new (size_t sz)
void * operator new (size_t sz, void *ptr)
 placement operator new
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info
void * operator new[] (size_t sz)
void removeAllPasses ()
 Remove all passes.
void removePass (size_t idx)
 Remove a pass.
void setInputMode (InputMode mode)
 Set input mode of this TargetPass.
void setLodBias (float bias)
 Set the scene LOD bias used by this pass.
void setMaterialScheme (const String &schemeName)
 Set the material scheme used by this target pass.
void setOnlyInitial (bool value)
 Set "only initial" flag.
void setOutputName (const String &out)
 Set output local texture name.
void setShadowsEnabled (bool enabled)
 Set whether shadows are enabled in this target pass.
void setVisibilityMask (uint32 mask)
 Set the scene visibility mask used by this pass.

Private Attributes

InputMode mInputMode
 Input mode.
float mLodBias
 LOD bias of this render.
String mMaterialScheme
 Material scheme name.
bool mOnlyInitial
 This target pass is only executed initially after the effect has been enabled.
String mOutputName
 (local) output texture
CompositionTechniquemParent
 Parent technique.
Passes mPasses
 Passes.
bool mShadowsEnabled
 Shadows option.
uint32 mVisibilityMask
 Visibility mask for this render.

Detailed Description

Object representing one render to a RenderTarget or Viewport in the Ogre Composition framework.

Definition at line 45 of file OgreCompositionTargetPass.h.


Member Typedef Documentation

Definition at line 58 of file OgreCompositionTargetPass.h.

Definition at line 59 of file OgreCompositionTargetPass.h.


Member Enumeration Documentation

Input mode of a TargetPass.

Enumerator:
IM_NONE 
IM_PREVIOUS 

No input.

Output of previous Composition in chain

Definition at line 53 of file OgreCompositionTargetPass.h.


Constructor & Destructor Documentation


Member Function Documentation

Determine if this target pass is supported on the current rendering device.

Create a new pass, and return a pointer to it.

Get input mode.

Get the scene LOD bias used by this pass.

Get the material scheme used by this target pass.

Remarks:
Only applicable to targets that render the scene as one of their passes.
See also:
Technique::setScheme.

Get the number of passes.

Get "only initial" flag.

Get output local texture name.

Get parent object.

Get a pass.

Get an iterator over the Passes in this TargetPass.

Get whether shadows are enabled in this target pass.

Remarks:
Only applicable to targets that render the scene as one of their passes.

Get the scene visibility mask used by this pass.

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

Definition at line 96 of file OgreMemoryAllocatedObject.h.

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

Definition at line 102 of file OgreMemoryAllocatedObject.h.

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

Definition at line 108 of file OgreMemoryAllocatedObject.h.

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

Definition at line 113 of file OgreMemoryAllocatedObject.h.

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

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 
) [inherited]

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) [inherited]

Definition at line 73 of file OgreMemoryAllocatedObject.h.

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

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 
) [inherited]

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) [inherited]

Definition at line 91 of file OgreMemoryAllocatedObject.h.

Remove all passes.

Remove a pass.

It will also be destroyed.

Set input mode of this TargetPass.

Set the scene LOD bias used by this pass.

The default is 1.0, everything below that means lower quality, higher means higher quality.

Set the material scheme used by this target pass.

Remarks:
Only applicable to targets that render the scene as one of their passes.
See also:
Technique::setScheme.

Set "only initial" flag.

This makes that this target pass is only executed initially after the effect has been enabled.

Set output local texture name.

Set whether shadows are enabled in this target pass.

Remarks:
Only applicable to targets that render the scene as one of their passes.

Set the scene visibility mask used by this pass.


Member Data Documentation

Input mode.

Definition at line 153 of file OgreCompositionTargetPass.h.

LOD bias of this render.

Definition at line 164 of file OgreCompositionTargetPass.h.

Material scheme name.

Definition at line 166 of file OgreCompositionTargetPass.h.

This target pass is only executed initially after the effect has been enabled.

Definition at line 160 of file OgreCompositionTargetPass.h.

(local) output texture

Definition at line 155 of file OgreCompositionTargetPass.h.

Parent technique.

Definition at line 151 of file OgreCompositionTargetPass.h.

Passes.

Definition at line 157 of file OgreCompositionTargetPass.h.

Shadows option.

Definition at line 168 of file OgreCompositionTargetPass.h.

Visibility mask for this render.

Definition at line 162 of file OgreCompositionTargetPass.h.


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

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jul 27 2020 13:40:53