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

A GLFW window manager. More...

#include <window.h>

Public Member Functions

 window (input::event_bus &bus)
 Constructs a new window manager.
 
 ~window ()
 Destructor that cleans up GLFW resources.
 
 window (const window &)=delete
 
 window (window &&)=delete
 
window & operator= (const window &)=delete
 
window & operator= (window &&)=delete
 
bool should_close () const
 Returns true if the GLFW window should be closed.
 
void wait_events ()
 Blocks the current theread until there is a new window event.
 
void swap_buffers ()
 Switches to the newly rendered frame.
 

Detailed Description

A GLFW window manager.

Constructor & Destructor Documentation

◆ window()

engine::window::window ( input::event_bus &  bus)
explicit

Constructs a new window manager.

Parameters
busThe input event bus to attach GLFW window event callbacks to.

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