TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::FramePipeline Class Reference

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.

Detailed Description

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.

Member Function Documentation

◆ RunStage()

void tachyon::FramePipeline::RunStage ( FrameStage stage,
FrameContext & ctx )

Runs the callbacks of stage in registration order.


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