Go to the documentation of this file.
28 #ifndef __CompositionTechnique_H__
29 #define __CompositionTechnique_H__
81 fsaa(true), hwGammaWrite(false), depthBufferId(1), pooled(false), scope(TS_LOCAL) {}
160 { mCompositorLogicName = compositorLogicName; }
void removeTextureDefinition(size_t idx)
Remove and destroy a local texture definition.
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
PixelFormatList formatList
CompositionTargetPass * getOutputTargetPass()
Get output (final) target pass.
size_t getNumTargetPasses()
Get the number of target passes.
Class representing a Compositor object.
virtual void setSchemeName(const String &schemeName)
Assign a scheme name to this technique, used to switch between multiple techniques by choice rather t...
Concrete IteratorWrapper for nonconst access to the underlying container.
void removeAllTextureDefinitions()
Remove all Texture Definitions.
vector< PixelFormat >::type PixelFormatList
Compositor * mParent
Parent compositor.
String mCompositorLogicName
Optional compositor logic name.
virtual bool isSupported(bool allowTextureDegradation)
Determine if this technique is supported on the current rendering device.
Base composition technique, can be subclassed in plugins.
TargetPasses mTargetPasses
Intermediate target passes.
Local texture definition.
vector< CompositionTargetPass * >::type TargetPasses
Typedefs for several iterators.
void setCompositorLogicName(const String &compositorLogicName)
Set the name of the compositor logic assigned to this technique.
Object representing one render to a RenderTarget or Viewport in the Ogre Composition framework.
void removeAllTargetPasses()
Remove all target passes.
TextureDefinition * getTextureDefinition(const String &name)
Get a local texture definition with a specific name.
size_t getNumTextureDefinitions()
Get the number of local texture definitions.
String mSchemeName
Optional scheme name.
Compositor * getParent()
Get parent object.
VectorIterator< TextureDefinitions > TextureDefinitionIterator
CompositionTechnique(Compositor *parent)
CompositionTargetPass * getTargetPass(size_t idx)
Get a target pass.
const String & getSchemeName() const
Get the scheme name assigned to this technique.
void removeTargetPass(size_t idx)
Remove a target pass.
vector< TextureDefinition * >::type TextureDefinitions
TextureDefinitionIterator getTextureDefinitionIterator(void)
Get an iterator over the TextureDefinitions in this Technique.
TextureDefinitions mTextureDefinitions
Local texture definitions.
CompositionTargetPass * createTargetPass()
Create a new target pass, and return a pointer to it.
TargetPassIterator getTargetPassIterator(void)
Get an iterator over the TargetPasses in this Technique.
TextureDefinition * createTextureDefinition(const String &name)
Create a new local texture definition, and return a pointer to it.
TextureDefinition * getTextureDefinition(size_t idx)
Get a local texture definition.
CompositionTargetPass * mOutputTarget
Output target pass (can be only one)
virtual ~CompositionTechnique()
VectorIterator< TargetPasses > TargetPassIterator
const String & getCompositorLogicName() const
Get the compositor logic name assigned to this technique.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.