Simulant  21.12-1292
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | List of all members
smlt::SceneCompositor Class Reference

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_)
 

Detailed Description

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.


The documentation for this class was generated from the following files: