Enum ModuleTags¶
Defined in File tags.h
Enum Documentation¶
-
enum class portal::ModuleTags : uint8_t¶
Bitflag enumeration of module lifecycle phases.
ModuleTags defines the available lifecycle hooks that modules can participate in. Each tag corresponds to a specific method in BaseModule (begin_frame, update, etc.). Modules declare which lifecycle phases they need by specifying one or more of these tags in their TaggedModule template parameter.
Lifecycle execution order within each frame:
FrameLifecycle - begin_frame() called in dependency order
Update - update() called in dependency order
GuiUpdate - gui_update() called in dependency order
PostUpdate - post_update() called in dependency order (typically rendering)
FrameLifecycle - end_frame() called in reverse dependency order
Event - on_event() called when events occur (outside normal frame flow)
Values:
-
enumerator None¶
-
enumerator FrameLifecycle¶
-
enumerator Update¶
-
enumerator GuiUpdate¶
-
enumerator PostUpdate¶
-
enumerator Event¶