#include <OgreCompositionTechnique.h>
Public Types | |
typedef std::vector< CompositionTargetPass * > | TargetPasses |
Typedefs for several iterators. | |
typedef VectorIterator< TargetPasses > | TargetPassIterator |
typedef std::vector< TextureDefinition * > | TextureDefinitions |
typedef VectorIterator< TextureDefinitions > | TextureDefinitionIterator |
Public Member Functions | |
CompositionTechnique (Compositor *parent) | |
virtual | ~CompositionTechnique () |
TextureDefinition * | createTextureDefinition (const String &name) |
Create a new local texture definition, and return a pointer to it. | |
void | removeTextureDefinition (size_t idx) |
Remove and destroy a local texture definition. | |
TextureDefinition * | getTextureDefinition (size_t idx) |
Get a local texture definition. | |
size_t | getNumTextureDefinitions () |
Get the number of local texture definitions. | |
void | removeAllTextureDefinitions () |
Remove all Texture Definitions. | |
TextureDefinitionIterator | getTextureDefinitionIterator (void) |
Get an iterator over the TextureDefinitions in this Technique. | |
CompositionTargetPass * | createTargetPass () |
Create a new target pass, and return a pointer to it. | |
void | removeTargetPass (size_t idx) |
Remove a target pass. | |
CompositionTargetPass * | getTargetPass (size_t idx) |
Get a target pass. | |
size_t | getNumTargetPasses () |
Get the number of target passes. | |
void | removeAllTargetPasses () |
Remove all target passes. | |
TargetPassIterator | getTargetPassIterator (void) |
Get an iterator over the TargetPasses in this Technique. | |
CompositionTargetPass * | getOutputTargetPass () |
Get output (final) target pass. | |
virtual bool | isSupported (bool allowTextureDegradation) |
Determine if this technique is supported on the current rendering device. | |
virtual CompositorInstance * | createInstance (CompositorChain *chain) |
Create an instance of this technique. | |
virtual void | destroyInstance (CompositorInstance *instance) |
Destroy an instance of this technique. | |
Compositor * | getParent () |
Get parent object. | |
Private Types | |
typedef std::vector< CompositorInstance * > | Instances |
List of instances. | |
Private Attributes | |
Compositor * | mParent |
Parent compositor. | |
TextureDefinitions | mTextureDefinitions |
Local texture definitions. | |
TargetPasses | mTargetPasses |
Intermediate target passes. | |
CompositionTargetPass * | mOutputTarget |
Output target pass (can be only one). | |
Instances | mInstances |
Definition at line 35 of file OgreCompositionTechnique.h.
|
List of instances.
Definition at line 136 of file OgreCompositionTechnique.h. |
|
Typedefs for several iterators.
Definition at line 53 of file OgreCompositionTechnique.h. |
|
Definition at line 54 of file OgreCompositionTechnique.h. |
|
Definition at line 56 of file OgreCompositionTechnique.h. |
|
Definition at line 55 of file OgreCompositionTechnique.h. |
|
|
|
|
|
Create an instance of this technique.
|
|
Create a new target pass, and return a pointer to it.
|
|
Create a new local texture definition, and return a pointer to it.
|
|
Destroy an instance of this technique.
|
|
Get the number of target passes.
|
|
Get the number of local texture definitions.
|
|
Get output (final) target pass.
|
|
Get parent object.
|
|
Get a target pass.
|
|
Get an iterator over the TargetPasses in this Technique.
|
|
Get a local texture definition.
|
|
Get an iterator over the TextureDefinitions in this Technique.
|
|
Determine if this technique is supported on the current rendering device.
|
|
Remove all target passes.
|
|
Remove all Texture Definitions.
|
|
Remove a target pass. It will also be destroyed. |
|
Remove and destroy a local texture definition.
|
|
Definition at line 137 of file OgreCompositionTechnique.h. |
|
Output target pass (can be only one).
Definition at line 133 of file OgreCompositionTechnique.h. |
|
Parent compositor.
Definition at line 126 of file OgreCompositionTechnique.h. |
|
Intermediate target passes.
Definition at line 131 of file OgreCompositionTechnique.h. |
|
Local texture definitions.
Definition at line 128 of file OgreCompositionTechnique.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:38:27 2006