![]() |
OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
Base composition technique, can be subclassed in plugins. More...
#include <OgreCompositionTechnique.h>
Inheritance diagram for Ogre::CompositionTechnique:Classes | |
| class | TextureDefinition |
| Local texture definition. More... | |
Public Types | |
| typedef vector< CompositionTargetPass * >::type | TargetPasses |
| Typedefs for several iterators. More... | |
| typedef VectorIterator< TargetPasses > | TargetPassIterator |
| typedef VectorIterator< TextureDefinitions > | TextureDefinitionIterator |
| typedef vector< TextureDefinition * >::type | TextureDefinitions |
| enum | TextureScope { TS_LOCAL, TS_CHAIN, TS_GLOBAL } |
Public Member Functions | |
| CompositionTechnique (Compositor *parent) | |
| virtual | ~CompositionTechnique () |
| CompositionTargetPass * | createTargetPass () |
| Create a new target pass, and return a pointer to it. More... | |
| TextureDefinition * | createTextureDefinition (const String &name) |
| Create a new local texture definition, and return a pointer to it. More... | |
| const String & | getCompositorLogicName () const |
| Get the compositor logic name assigned to this technique. More... | |
| size_t | getNumTargetPasses () |
| Get the number of target passes. More... | |
| size_t | getNumTextureDefinitions () |
| Get the number of local texture definitions. More... | |
| CompositionTargetPass * | getOutputTargetPass () |
| Get output (final) target pass. More... | |
| Compositor * | getParent () |
| Get parent object. More... | |
| const String & | getSchemeName () const |
| Get the scheme name assigned to this technique. More... | |
| CompositionTargetPass * | getTargetPass (size_t idx) |
| Get a target pass. More... | |
| const TargetPasses & | getTargetPasses () const |
| Get the TargetPasses in this Technique. More... | |
| TargetPassIterator | getTargetPassIterator (void) |
| TextureDefinition * | getTextureDefinition (size_t idx) |
| Get a local texture definition. More... | |
| TextureDefinition * | getTextureDefinition (const String &name) |
| Get a local texture definition with a specific name. More... | |
| TextureDefinitionIterator | getTextureDefinitionIterator (void) |
| const TextureDefinitions & | getTextureDefinitions () const |
| Get the TextureDefinitions in this Technique. More... | |
| virtual bool | isSupported (bool allowTextureDegradation) |
| Determine if this technique is supported on the current rendering device. More... | |
| void | removeAllTargetPasses () |
| Remove all target passes. More... | |
| void | removeAllTextureDefinitions () |
| Remove all Texture Definitions. More... | |
| void | removeTargetPass (size_t idx) |
| Remove a target pass. More... | |
| void | removeTextureDefinition (size_t idx) |
| Remove and destroy a local texture definition. More... | |
| void | setCompositorLogicName (const String &compositorLogicName) |
| Set the name of the compositor logic assigned to this technique. More... | |
| virtual void | setSchemeName (const String &schemeName) |
| Assign a scheme name to this technique, used to switch between multiple techniques by choice rather than for hardware compatibility. More... | |
Base composition technique, can be subclassed in plugins.
| typedef vector<CompositionTargetPass *>::type Ogre::CompositionTechnique::TargetPasses |
Typedefs for several iterators.
| typedef vector<TextureDefinition*>::type Ogre::CompositionTechnique::TextureDefinitions |
| Ogre::CompositionTechnique::CompositionTechnique | ( | Compositor * | parent | ) |
|
virtual |
| TextureDefinition* Ogre::CompositionTechnique::createTextureDefinition | ( | const String & | name | ) |
Create a new local texture definition, and return a pointer to it.
| name | Name of the local texture |
| void Ogre::CompositionTechnique::removeTextureDefinition | ( | size_t | idx | ) |
Remove and destroy a local texture definition.
| TextureDefinition* Ogre::CompositionTechnique::getTextureDefinition | ( | size_t | idx | ) |
Get a local texture definition.
| TextureDefinition* Ogre::CompositionTechnique::getTextureDefinition | ( | const String & | name | ) |
Get a local texture definition with a specific name.
| size_t Ogre::CompositionTechnique::getNumTextureDefinitions | ( | ) |
Get the number of local texture definitions.
| void Ogre::CompositionTechnique::removeAllTextureDefinitions | ( | ) |
Remove all Texture Definitions.
|
inline |
Get the TextureDefinitions in this Technique.
| TextureDefinitionIterator Ogre::CompositionTechnique::getTextureDefinitionIterator | ( | void | ) |
| CompositionTargetPass* Ogre::CompositionTechnique::createTargetPass | ( | ) |
Create a new target pass, and return a pointer to it.
| void Ogre::CompositionTechnique::removeTargetPass | ( | size_t | idx | ) |
Remove a target pass.
It will also be destroyed.
| CompositionTargetPass* Ogre::CompositionTechnique::getTargetPass | ( | size_t | idx | ) |
Get a target pass.
| size_t Ogre::CompositionTechnique::getNumTargetPasses | ( | ) |
Get the number of target passes.
| void Ogre::CompositionTechnique::removeAllTargetPasses | ( | ) |
Remove all target passes.
|
inline |
Get the TargetPasses in this Technique.
| TargetPassIterator Ogre::CompositionTechnique::getTargetPassIterator | ( | void | ) |
| CompositionTargetPass* Ogre::CompositionTechnique::getOutputTargetPass | ( | ) |
Get output (final) target pass.
|
virtual |
Determine if this technique is supported on the current rendering device.
| allowTextureDegradation | True to accept a reduction in texture depth |
|
virtual |
Assign a scheme name to this technique, used to switch between multiple techniques by choice rather than for hardware compatibility.
|
inline |
Get the scheme name assigned to this technique.
|
inline |
Set the name of the compositor logic assigned to this technique.
Instances of this technique will be auto-coupled with the matching logic.
|
inline |
Get the compositor logic name assigned to this technique.
| Compositor* Ogre::CompositionTechnique::getParent | ( | ) |
Get parent object.