Brenta Engine 1.1
Loading...
Searching...
No Matches
brenta::gui Class Reference

Gui class. More...

#include <gui.hpp>

Static Public Member Functions

static void init ()
 Initialize the gui.
 
static void destroy ()
 Delete the gui.
 
static void new_frame (types::framebuffer *fb)
 Start a new frame To be called at each frame before rendering.
 
static void render ()
 Render the gui To be called at each frame after rendering.
 

Detailed Description

Gui class.

This class contains the GUI functions, It's a wrapper around imgui, providing functions to initialize, update and delete the gui.

Definition at line 46 of file gui.hpp.

Member Function Documentation

◆ destroy()

void gui::destroy ( )
static

Delete the gui.

Definition at line 54 of file gui.cpp.

◆ init()

void gui::init ( )
static

Initialize the gui.

Definition at line 38 of file gui.cpp.

◆ new_frame()

void gui::new_frame ( types::framebuffer * fb)
static

Start a new frame To be called at each frame before rendering.

Definition at line 61 of file gui.cpp.

◆ render()

void gui::render ( )
static

Render the gui To be called at each frame after rendering.

Definition at line 86 of file gui.cpp.


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