摘要 |
A Scene Controller provides an interface between a multimedia terminal and an application so as to decouple application logic from terminal rendering resources and permits an application to modify the scene being drawn by the terminal during a frame. When the terminal is ready to render a frame, the terminal queries all SceneControllerListeners (from one or many applications) for any pending modifications to the scene being drawn. Each SceneControllerListener may execute modifications to the scene. When all modifications have been applied, the terminal finishes rendering the frame. Finally, the terminal queries each of the SceneControllerListeners for any post-rendering scene modifications. The scene may comprise a high-level description (e.g. a scene graph) or low-level graphical operations.
|