Brenta Engine 1.0
Loading...
Searching...
No Matches
Brenta::Engine Class Reference

Engine setup. More...

#include <engine.hpp>

Data Structures

class  Builder
 Engine builder. More...
 

Public Member Functions

 Engine (bool uses_screen, bool uses_audio, bool uses_input, bool uses_logger, bool uses_text, bool uses_ecs, int screen_width, int screen_height, bool screen_is_mouse_captured, bool screen_msaa, bool screen_vsync, const char *screen_title, Types::LogLevel log_level, std::string log_file, std::string text_font, int text_size, bool gl_blending, bool gl_cull_face, bool gl_multisample, bool gl_depth_test)
 

Data Fields

bool uses_screen
 
bool uses_audio
 
bool uses_input
 
bool uses_logger
 
bool uses_text
 
bool uses_ecs
 
int screen_width
 
int screen_height
 
bool screen_is_mouse_captured
 
const char * screen_title
 
bool screen_msaa
 
bool screen_vsync
 
Types::LogLevel log_level
 
std::string log_file
 
std::string text_font
 
int text_size
 
bool gl_blending
 
bool gl_cull_face
 
bool gl_multisample
 
bool gl_depth_test
 

Detailed Description

Engine setup.

This class is used to setup every subsystem of the engine. You can use the builder class to set the parameters of the engine: you can set which subsystem to use and configure them.

It automatically destroys the subsystems when the engine is destroyed.

Definition at line 58 of file engine.hpp.

Constructor & Destructor Documentation

◆ Engine()

Engine::Engine ( bool uses_screen,
bool uses_audio,
bool uses_input,
bool uses_logger,
bool uses_text,
bool uses_ecs,
int screen_width,
int screen_height,
bool screen_is_mouse_captured,
bool screen_msaa,
bool screen_vsync,
const char * screen_title,
Types::LogLevel log_level,
std::string log_file,
std::string text_font,
int text_size,
bool gl_blending,
bool gl_cull_face,
bool gl_multisample,
bool gl_depth_test )

Definition at line 14 of file engine.cpp.

◆ ~Engine()

Engine::~Engine ( )

Definition at line 61 of file engine.cpp.

Field Documentation

◆ gl_blending

bool Brenta::Engine::gl_blending

Definition at line 77 of file engine.hpp.

◆ gl_cull_face

bool Brenta::Engine::gl_cull_face

Definition at line 78 of file engine.hpp.

◆ gl_depth_test

bool Brenta::Engine::gl_depth_test

Definition at line 80 of file engine.hpp.

◆ gl_multisample

bool Brenta::Engine::gl_multisample

Definition at line 79 of file engine.hpp.

◆ log_file

std::string Brenta::Engine::log_file

Definition at line 74 of file engine.hpp.

◆ log_level

Types::LogLevel Brenta::Engine::log_level

Definition at line 73 of file engine.hpp.

◆ screen_height

int Brenta::Engine::screen_height

Definition at line 68 of file engine.hpp.

◆ screen_is_mouse_captured

bool Brenta::Engine::screen_is_mouse_captured

Definition at line 69 of file engine.hpp.

◆ screen_msaa

bool Brenta::Engine::screen_msaa

Definition at line 71 of file engine.hpp.

◆ screen_title

const char* Brenta::Engine::screen_title

Definition at line 70 of file engine.hpp.

◆ screen_vsync

bool Brenta::Engine::screen_vsync

Definition at line 72 of file engine.hpp.

◆ screen_width

int Brenta::Engine::screen_width

Definition at line 67 of file engine.hpp.

◆ text_font

std::string Brenta::Engine::text_font

Definition at line 75 of file engine.hpp.

◆ text_size

int Brenta::Engine::text_size

Definition at line 76 of file engine.hpp.

◆ uses_audio

bool Brenta::Engine::uses_audio

Definition at line 62 of file engine.hpp.

◆ uses_ecs

bool Brenta::Engine::uses_ecs

Definition at line 66 of file engine.hpp.

◆ uses_input

bool Brenta::Engine::uses_input

Definition at line 63 of file engine.hpp.

◆ uses_logger

bool Brenta::Engine::uses_logger

Definition at line 64 of file engine.hpp.

◆ uses_screen

bool Brenta::Engine::uses_screen

Definition at line 61 of file engine.hpp.

◆ uses_text

bool Brenta::Engine::uses_text

Definition at line 65 of file engine.hpp.


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