Deep Learning Visualizer
Interactive visualization of basic applications of deep learning
Loading...
Searching...
No Matches
engine::application Class Reference

Desktop GUI manager that handles the application lifecycle. More...

#include <application.h>

Public Member Functions

void run ()
 Runs the update and render loop with the current scene.
 
void set_scene (std::unique_ptr< scene > scene)
 Sets the active scene.
 
graphics::renderer & renderer ()
 
input::event_bus & event_bus ()
 

Detailed Description

Desktop GUI manager that handles the application lifecycle.

This class owns the window manager, renderer, and input manager.

Member Function Documentation

◆ run()

void engine::application::run ( )

Runs the update and render loop with the current scene.

This method is blocking.

◆ set_scene()

void engine::application::set_scene ( std::unique_ptr< scene >  scene)
inline

Sets the active scene.

Parameters
sceneA unique pointer to the new scene.
Note
The scene's ownership is transferred to application.

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