28 #ifndef __Compositor_H__
29 #define __Compositor_H__
66 void removeTechnique(
size_t idx);
74 size_t getNumTechniques();
78 void removeAllTechniques();
97 size_t getNumSupportedTechniques();
121 const String& getTextureInstanceName(
const String& name,
size_t mrtIndex);
143 void unloadImpl(
void);
145 size_t calculateSize(
void)
const;
161 void createGlobalTextures();
165 void freeGlobalTextures();
207 if (pRep == static_cast<Compositor*>(r.
getPointer()))
225 assert(r.
isNull() &&
"RHS must be null if it has no mutex!");
Techniques mSupportedTechniques
A 'canvas' which can receive the results of a rendering operation.
vector< CompositionTechnique * >::type Techniques
Data types for internal lists.
Specialisation of SharedPtr to allow SharedPtr to be assigned to CompositorPtr.
#define OGRE_MUTEX_CONDITIONAL(name)
map< String, MultiRenderTarget * >::type GlobalMRTMap
Store a list of MRTs we've created.
Interface describing a manual resource loader.
Class representing a Compositor object.
GlobalTextureMap mGlobalTextures
CompositorPtr(const CompositorPtr &r)
VectorIterator< Techniques > TechniqueIterator
Specialisation of SharedPtr to allow SharedPtr to be assigned to TexturePtr.
CompositorPtr(Compositor *rep)
CompositorPtr(const ResourcePtr &r)
Base composition technique, can be subclassed in plugins.
Abstract class representing a loadable resource (e.g.
unsigned long long int ResourceHandle
static const String BLANK
Constant blank string, useful for returning by ref where local does not exist.
#define OGRE_LOCK_MUTEX(name)
map< String, TexturePtr >::type GlobalTextureMap
Map from name->local texture.
bool mCompilationRequired
Compilation required This is set if the techniques change and the supportedness of techniques has to ...
Defines a generic resource handler.
unsigned int * useCountPointer() const
Reference-counted shared pointer, used for objects where implicit destruction is required.
Concrete IteratorWrapper for nonconst access to the underlying container.
CompositorPtr & operator=(const ResourcePtr &r)
Operator used to convert a ResourcePtr to a CompositorPtr.
#define OGRE_COPY_AUTO_SHARED_MUTEX(from)