Public Member Functions | |
void | addObserver (TopDownGraphObserver *observer) |
Register an observer so that it can receive topdown rendering events. | |
void | removeObserver (TopDownGraphObserver *observer) |
Unregister an observer so that it will no longer receive topdown rendering events. | |
void | graphStarted (TopDownGraphEvaluator *graph) |
Notify observers that a topdown render has started. | |
void | graphStarted (OpTask *rootTask, Op *rootOp, OpTasks &opTaskMap) |
void | graphEnded (TopDownGraphEvaluator *graph) |
Notify observers that a topdown render has finished. | |
void | taskSpawned (OpTask *task, bool leaf=false) |
Notify observers that a task has been spawned. | |
void | taskStarted (OpTask *task) |
Notify observers that a task has started executing. | |
void | taskEnded (OpTask *task) |
Notify observers that a task has finished executing. | |
void | regionStarted (OpTask *task, int y) |
Notify observers that a scanline op has started rendering the region starting at position y. | |
void | regionEnded (OpTask *task, int y) |
Notify observers that a scanline op has finished rendering the region ending at position y. | |
TopDownGraphNotifier is a class for managing TopDownGraphObserver objects and notifying them about topdown rendering events. Observers must be registered with the addObserver method in order to receive events.
©2021 The Foundry Visionmongers, Ltd. All Rights Reserved. |