![]() |
Simulant
21.12-1292
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
|
The SceneCompositor class. More...
#include <compositor.h>
Public Member Functions | |
SceneCompositor (Scene *scene, Compositor *global_compositor) | |
LayerPtr | create_layer (StageNode *subtree, Camera *camera, int32_t priority=0) |
LayerPtr | find_layer (const std::string &name) |
void | destroy_all_layers () |
S_DEFINE_PROPERTY (global_compositor, &SceneCompositor::compositor_) | |
The SceneCompositor class.
The Compositor class is global, across the whole application. The SceneCompositor is a scene-local equivalent which ensures that layers do not outlive the scene.