28 #ifndef __CompositorInstance_H__
29 #define __CompositorInstance_H__
92 virtual void notifyResourcesCreated(
bool forResizeOnly);
118 target(inTarget), currentQueueGroupID(0), visibilityMask(0xFFFFFFFF),
120 onlyInitial(false), hasBeenRendered(false), findVisibleObjects(false),
121 materialScheme(
MaterialManager::DEFAULT_SCHEME_NAME), shadowsEnabled(true)
170 void setEnabled(
bool value);
182 void setAlive(
bool value);
201 const String& getTextureInstanceName(
const String& name,
size_t mrtIndex);
231 virtual void _compileTargetOperations(CompiledState &compiledState);
236 virtual void _compileOutputOperation(TargetOperation &finalState);
268 void setScheme(
const String& schemeName,
bool reuseTextures =
true);
278 void notifyResized();
289 void addListener(Listener *l);
294 void removeListener(Listener *l);
306 void _fireNotifyResourcesCreated(
bool forResizeOnly);
351 void createResources(
bool forResizeOnly);
355 void freeResources(
bool forResizeOnly,
bool clearReserveTextures);
367 const String &getSourceForTex(
const String &name,
size_t mrtIndex = 0);
374 String getMRTTexLocalName(
const String& baseName,
size_t attachment);
379 void deriveTextureRenderTargetOptions(
const String& texname,
380 bool *hwGammaWrite,
uint *fsaa,
String* fsaaHint);
383 void notifyCameraChanged(
Camera* camera);
394 #endif // __CompositorInstance_H__