Class MainLoopStage

Stage instance represents a certain stage in the Kanzi main loop. This class provides default stages for the MainLoopScheduler.

Synopsis

Attributes
INPUT

Stage for handling input events

USER

Stage for executing your application code

ANIMATE

Stage for ticking animations

LAYOUT

Stage for laying out the nodes

RENDER

Stage for rendering the nodes

PRESENT

Stage for presenting the nodes

MainLoopStage.INPUT

Stage for handling input events.

MainLoopStage.USER

Stage for executing your application code. Includes:

  • Task dispatcher tasks
  • Resource deployment
  • kzb file and prefab loading
MainLoopStage.ANIMATE

Stage for ticking animations.

MainLoopStage.LAYOUT

Stage for laying out the nodes.

MainLoopStage.RENDER

Stage for rendering the nodes.

MainLoopStage.PRESENT

Stage for presenting the nodes.