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)
Chain of compositor effects applying to one viewport.
map< TextureDef, TexturePtr, TextureDefLess >::type TextureDefMap
CustomCompositionPassMap mCustomCompositionPasses
TexturesByDef mTexturesByDef
std::pair< String, String > StringPair
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
Template class for creating single-instance global classes.
Interface for compositor logics, which can be automatically binded to compositors, allowing per-compositor logic (such as attaching a relevant listener) to happen automatically.
map< TextureDef, TextureList *, TextureDefLess >::type TexturesByDef
virtual ~TextureDefLess()
VectorIterator< TextureList > TextureIterator
static String AUTODETECT_RESOURCE_GROUP_NAME
Special resource group name which causes resource group to be automatically determined based on searc...
map< StringPair, TextureDefMap >::type ChainTexturesByDef
Interface describing a manual resource loader.
vector< CompositorInstance * >::type Instances
List of instances.
map< String, CompositorLogic * >::type CompositorLogicMap
Map of registered compositor logics.
Abstract class defining the interface all renderable objects must implement.
map< String, CustomCompositionPass * >::type CustomCompositionPassMap
Map of registered custom composition passes.
Allows the rendering of a simple 2D rectangle This class renders a simple 2D rectangle; this rectangl...
PixelFormat
The pixel format used for images, textures, and render surfaces.
ChainTexturesByDef mChainTexturesByDef
std::map< K, V, P, A > type
Abstract class representing a loadable resource (e.g.
unsigned long long int ResourceHandle
vector< TexturePtr >::type TextureList
An abstraction of a viewport, i.e.
Class for managing Compositor settings for Ogre.
set< Texture * >::type UniqueTextureSet
bool _OgreExport operator()(const TextureDef &x, const TextureDef &y) const
An instance of a Compositor object for one Viewport.
TextureDef(size_t w, size_t h, PixelFormat f, uint aa, const String &aaHint, bool srgb)
Defines a generic resource handler.
Reference-counted shared pointer, used for objects where implicit destruction is required.
Interface for custom composition passes, allowing custom operations (in addition to the quad...
map< Viewport *, CompositorChain * >::type Chains
Concrete IteratorWrapper for nonconst access to the underlying container.
CompositorLogicMap mCompositorLogics