|
TachyonUI 0.1.0
High-performance UI for building tools.
|
Stage callbacks run in registration order (no priorities): if A must run before B, construct A first (see GUIApplication::Initialize()). More...
#include <gui_core/frame/gui_frame_pipeline.h>
Public Member Functions | |
| void | OnPreFrame (StageCallback cb) |
| Adds cb to the end of that stage's callbacks. | |
| void | OnPreConstruct (StageCallback cb) |
| void | OnPostConstruct (StageCallback cb) |
| void | OnPreLayout (StageCallback cb) |
| void | OnPostLayout (StageCallback cb) |
| void | OnPreInput (StageCallback cb) |
| void | OnPostInput (StageCallback cb) |
| void | OnPreRender (StageCallback cb) |
| void | OnPostRender (StageCallback cb) |
| void | OnEndFrame (StageCallback cb) |
| void | RunStage (FrameStage stage, FrameContext &ctx) |
| Runs the callbacks of stage in registration order. | |
Stage callbacks run in registration order (no priorities): if A must run before B, construct A first (see GUIApplication::Initialize()).
Lifetime: subsystems captured by callbacks (typically [this]) must stay alive as long as the pipeline can run them; declare subsystem members after the pipeline.
| void tachyon::FramePipeline::RunStage | ( | FrameStage | stage, |
| FrameContext & | ctx ) |
Runs the callbacks of stage in registration order.