DEKI/ENGINE docs
manual api reference
Deki 0.40.1
Modular C++ engine with a visual editor, for 2D and 3D
Loading...
Searching...
No Matches
Engine.h File Reference

Classes

class  Deki::Engine
 Engine singleton: owns the scene system, lifecycle and frame loop. More...
struct  Deki::EngineHost
 How the engine is hosted. More...
struct  Deki::EngineSettings
 Engine settings, loaded from the project config. More...
struct  Deki::Engine::FrameTimings
 How long the parts of a frame took, in milliseconds of the engine's clock: update (input, lifecycle, update callbacks), render and present. More...

Namespaces

namespace  Deki

Typedefs

using Deki::GameUpdateCallback = std::function<void()>
using Deki::UpdateCallback = std::function<void(uint32_t deltaTime)>

Enumerations

enum class  Deki::ColorFormat { Deki::RGB565 = 0 , Deki::RGB888 = 1 , Deki::ARGB8888 = 2 , Deki::RGB565A8 = 3 }

Functions

constexpr size_t Deki::FrameBufferBytes (ColorFormat format, int width, int height)
 Bytes a width x height framebuffer of format occupies.

Variables

constexpr bool Deki::kRGB565BigEndian = false