supertux
Public Member Functions | Static Public Attributes | List of all members
Compositor Class Referencefinal

Public Member Functions

 Compositor (VideoSystem &video_system, float time_offset)
 
void render ()
 
DrawingContextmake_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.
 

Member Function Documentation

◆ make_context()

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.


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