XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGameApplicationExecutionEvent Struct Reference

#include <GameApplicationBase.h>

Public Types

enum class  Type : xiiUInt8 {
  BeginAppTick = 0U , BeforeWorldUpdates , AfterWorldUpdates , BeforeUpdatePlugins ,
  AfterUpdatePlugins , BeforePresent , AfterPresent , EndAppTick
}

Public Attributes

Type m_Type

Detailed Description

Allows custom code to inject logic at specific update points.

The events are listed in the order in which they typically happen.

Member Enumeration Documentation

◆ Type

enum class xiiGameApplicationExecutionEvent::Type : xiiUInt8
strong
Enumerator
BeginAppTick 

This is the first event that is triggered during the update phase of the application. It is triggered before any input is processed or any world is updated.

BeforeWorldUpdates 

This event is triggered after input has been processed, but before any world is updated. It is triggered once per frame, even if the application is paused.

AfterWorldUpdates 

This event is triggered after all worlds have been updated, but before any views are extracted. It is triggered once per frame, even if the application is paused.

BeforeUpdatePlugins 

This event is triggered after all worlds have been updated and all views have been extracted, but before any plugins are updated. It is triggered once per frame, even if the application is paused.

AfterUpdatePlugins 

This event is triggered after all plugins have been updated, but before any rendering has started. It is triggered once per frame, even if the application is paused.

BeforePresent 

This event is triggered after all rendering has been completed, but before the back buffer is presented. It is triggered once per frame, even if the application is paused.

AfterPresent 

This is the last event that is triggered during the update phase of the application. It is triggered after the back buffer has been presented, but before any new frame has started. It is triggered once per frame, even if the application is paused.

EndAppTick 

This event is triggered at the very end of the update phase of the application, after all other events have been triggered. It is triggered once per frame, even if the application is paused.


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