Public Member Functions | |
virtual void | update (unsigned long frameNumber)=0 |
The function to be called to render one frame. | |
virtual void | sharedRunSplit (SharedRuns *old, SharedRuns *new1, SharedRuns *new2) |
The function to be called when a shared run is splitted. | |
virtual void | sharedRunJoin (SharedRuns *old1, SharedRuns *old2, SharedRuns *newsr) |
The function to be called when two shared runs are joined. | |
virtual void | joinSharedRuns () |
Joins shared runs if needed. | |
virtual void | addSharedRuns (SharedRuns *runs) |
Register a shared run object. |
The illumination manager is responsible for refreshing rendering techniques connected to visible renderables, and to render the scene with these updated resources. It also has the resposibility to manage shared runs, to join and split them if needed.
|
Register a shared run object. Only called when new techniques are created.
|
|
Joins shared runs if needed. Searches the registered shared run roots and join them if necessary (they are close enough). |
|
The function to be called when two shared runs are joined.
|
|
The function to be called when a shared run is splitted.
|
|
The function to be called to render one frame. This is the main refreshing function. It seasrches for visible objects, manages shared runs, updates render techniques and finally renders the scene to framebuffer.
|