Go to the documentation of this file.
28 #ifndef __CompositorManager_H__
29 #define __CompositorManager_H__
72 void initialise(
void);
100 bool hasCompositorChain(
Viewport *vp)
const;
104 void removeCompositorChain(
Viewport *vp);
124 void setCompositorEnabled(
Viewport *vp,
const String &compositor,
bool value);
131 void removeAll(
void);
134 void _reconstructAllCompositorResources();
153 void freePooledTextures(
bool onlyIfUnreferenced =
true);
162 void unregisterCompositorLogic(
const String& name);
244 : width(w), height(h), format(f), fsaa(aa), fsaaHint(aaHint), sRGBwrite(srgb)
unsigned long long int ResourceHandle
map< String, CompositorLogic * >::type CompositorLogicMap
Map of registered compositor logics.
Chain of compositor effects applying to one viewport.
vector< CompositorInstance * >::type Instances
List of instances.
Concrete IteratorWrapper for nonconst access to the underlying container.
vector< TexturePtr >::type TextureList
TexturesByDef mTexturesByDef
static String AUTODETECT_RESOURCE_GROUP_NAME
Special resource group name which causes resource group to be automatically determined based on searc...
Class for managing Compositor settings for Ogre.
CustomCompositionPassMap mCustomCompositionPasses
map< TextureDef, TextureList *, TextureDefLess >::type TexturesByDef
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
map< String, CustomCompositionPass * >::type CustomCompositionPassMap
Map of registered custom composition passes.
VectorIterator< TextureList > TextureIterator
CompositorLogicMap mCompositorLogics
bool _OgreExport operator()(const TextureDef &x, const TextureDef &y) const
set< Texture * >::type UniqueTextureSet
PixelFormat
The pixel format used for images, textures, and render surfaces.
An abstraction of a viewport, i.e.
Interface for compositor logics, which can be automatically binded to compositors,...
virtual ~TextureDefLess()
ChainTexturesByDef mChainTexturesByDef
map< TextureDef, TexturePtr, TextureDefLess >::type TextureDefMap
Template class for creating single-instance global classes.
map< StringPair, TextureDefMap >::type ChainTexturesByDef
Defines a generic resource handler.
Reference-counted shared pointer, used for objects where implicit destruction is required.
Abstract class representing a loadable resource (e.g.
std::map< K, V, P, A > type
Abstract class defining the interface all renderable objects must implement.
Allows the rendering of a simple 2D rectangle This class renders a simple 2D rectangle; this rectangl...
std::pair< String, String > StringPair
An instance of a Compositor object for one Viewport.
map< Viewport *, CompositorChain * >::type Chains
Interface describing a manual resource loader.
Interface for custom composition passes, allowing custom operations (in addition to the quad,...
TextureDef(size_t w, size_t h, PixelFormat f, uint aa, const String &aaHint, bool srgb)
Copyright © 2012 Torus Knot Software Ltd

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