Finality Engine
Loading...
Searching...
No Matches
FINALITY::Application Class Reference

Coordinates the engine application lifetime. More...

#include <Application.h>

Public Member Functions

 Application ()
 ~Application ()
void Initialize (const RendererAPI &api, const WindowSpec &spec, std::unique_ptr< Game > game)
void Update ()
void Shutdown ()
void RequestClose ()
RenderDevice & GetDevice ()
Window & GetWindow ()
ImGUIRenderer * GetImGUIRenderer ()

Static Public Member Functions

static RendererAPI GetActiveAPI ()
static Application & Get ()

Detailed Description

Coordinates the engine application lifetime.

Application hosts the window, layers and engine services used by editor and player programs. Subsystems must be initialized before use and shut down while their dependencies are still alive.

Usage
Keep graphics resource retirement ahead of device destruction. Long-running imports and script compilation should report progress rather than block editor interaction.

Definition at line 33 of file Application.h.

Constructor & Destructor Documentation

◆ Application()

FINALITY::Application::Application ( )

◆ ~Application()

FINALITY::Application::~Application ( )

Member Function Documentation

◆ Initialize()

void FINALITY::Application::Initialize ( const RendererAPI & api,
const WindowSpec & spec,
std::unique_ptr< Game > game )

◆ Update()

void FINALITY::Application::Update ( )

◆ Shutdown()

void FINALITY::Application::Shutdown ( )

◆ RequestClose()

void FINALITY::Application::RequestClose ( )
inline

Definition at line 43 of file Application.h.

◆ GetActiveAPI()

RendererAPI FINALITY::Application::GetActiveAPI ( )
inlinestatic

Definition at line 45 of file Application.h.

◆ Get()

Application & FINALITY::Application::Get ( )
inlinestatic

Definition at line 46 of file Application.h.

◆ GetDevice()

RenderDevice & FINALITY::Application::GetDevice ( )
inline

Definition at line 48 of file Application.h.

◆ GetWindow()

Window & FINALITY::Application::GetWindow ( )
inline

Definition at line 49 of file Application.h.

◆ GetImGUIRenderer()

ImGUIRenderer * FINALITY::Application::GetImGUIRenderer ( )

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