Skip to content

Documentation / @debuffjp/core / GamePhase

Type Alias: GamePhase ​

GamePhase = "idle" | "beforeUpdate" | "update" | "afterUpdate" | "renderScene" | "beforeRender" | "render" | "afterRender"

Defined in: core/src/hooks.ts:29

The part of a frame running: a scene's update (with the camera) or render, one of the hooks around them, or "idle" outside those (loop bookkeeping, draw.begin/end).