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