28 #ifndef __CompositorManager_H__
29 #define __CompositorManager_H__
71 void initialise(
void);
86 bool hasCompositorChain(
Viewport *vp)
const;
90 void removeCompositorChain(
Viewport *vp);
110 void setCompositorEnabled(
Viewport *vp,
const String &compositor,
bool value);
117 void removeAll(
void);
120 void _reconstructAllCompositorResources();
139 void freePooledTextures(
bool onlyIfUnreferenced =
true);
233 : 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
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.
Specialisation of SharedPtr to allow SharedPtr to be assigned to TexturePtr.
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.
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.
std::map< StringPair, TextureDefMap > ChainTexturesByDef
CompositorLogicMap mCompositorLogics