Class Engine

Inheritance Relationships

Base Type

  • public Application

Class Documentation

class Engine : public Application

Main engine application class.

Engine initializes and owns the core subsystems: Vulkan context, window, swapchain, and ECS registry. Supports both runtime and editor modes.

Public Functions

explicit Engine(const Reference<Project> &project, const ApplicationProperties &properties)

Constructs the engine.

Parameters:
  • project

  • properties – Application configuration.

~Engine() override
void prepare() override

Initializes engine subsystems and modules.

void process_events() override

Processes window and input events.

inline EngineContext &get_engine_context() const

Protected Functions

void on_resize(WindowResizeEvent event) const
void on_close()
ProjectSettings &get_settings() const override