DEKI/ENGINE docs
Deki 0.19.0
Modular C++ 2D engine for embedded displays and desktop
Loading...
Searching...
No Matches
Deki::Engine::FrameTimings Struct Reference

How long the parts of a frame took, in milliseconds of the engine's clock: update (input, lifecycle, update callbacks), render and present. More...

#include <deki/Engine.h>

Public Attributes

uint32_t update = 0
uint32_t render = 0
uint32_t present = 0

Detailed Description

How long the parts of a frame took, in milliseconds of the engine's clock: update (input, lifecycle, update callbacks), render and present.

For a frame-rate readout; average over many frames, as each is whole milliseconds.

Member Data Documentation

◆ update

uint32_t Deki::Engine::FrameTimings::update = 0

◆ render

uint32_t Deki::Engine::FrameTimings::render = 0

◆ present

uint32_t Deki::Engine::FrameTimings::present = 0

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