supertux
|
Public Member Functions | |
Compositor (VideoSystem &video_system, float time_offset) | |
void | render () |
DrawingContext & | make_context (bool overlay=false) |
Create a DrawingContext, if overlay is true the context will not feature light rendering. More... | |
Static Public Attributes | |
static bool | s_render_lighting = true |
Debug flag to disable lighting, used in the editor. | |
DrawingContext & Compositor::make_context | ( | bool | overlay = false | ) |
Create a DrawingContext, if overlay is true the context will not feature light rendering.
This is required for contexts that overlap with other context (e.g. the HUD in ScreenManager) as otherwise their lighting would get messed up.