Brenta Engine 1.1
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, int screen_width, int screen_height, bool screen_is_mouse_captured, bool screen_msaa, bool screen_vsync, const char *screen_title, oak::level 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
 
int screen_width
 
int screen_height
 
bool screen_is_mouse_captured
 
const char * screen_title
 
bool screen_msaa
 
bool screen_vsync
 
oak::level 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 60 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,
int screen_width,
int screen_height,
bool screen_is_mouse_captured,
bool screen_msaa,
bool screen_vsync,
const char * screen_title,
oak::level 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 88 of file engine.cpp.

Field Documentation

◆ gl_blending

bool brenta::engine::gl_blending

Definition at line 78 of file engine.hpp.

◆ gl_cull_face

bool brenta::engine::gl_cull_face

Definition at line 79 of file engine.hpp.

◆ gl_depth_test

bool brenta::engine::gl_depth_test

Definition at line 81 of file engine.hpp.

◆ gl_multisample

bool brenta::engine::gl_multisample

Definition at line 80 of file engine.hpp.

◆ log_file

std::string brenta::engine::log_file

Definition at line 75 of file engine.hpp.

◆ log_level

oak::level brenta::engine::log_level

Definition at line 74 of file engine.hpp.

◆ screen_height

int brenta::engine::screen_height

Definition at line 69 of file engine.hpp.

◆ screen_is_mouse_captured

bool brenta::engine::screen_is_mouse_captured

Definition at line 70 of file engine.hpp.

◆ screen_msaa

bool brenta::engine::screen_msaa

Definition at line 72 of file engine.hpp.

◆ screen_title

const char* brenta::engine::screen_title

Definition at line 71 of file engine.hpp.

◆ screen_vsync

bool brenta::engine::screen_vsync

Definition at line 73 of file engine.hpp.

◆ screen_width

int brenta::engine::screen_width

Definition at line 68 of file engine.hpp.

◆ text_font

std::string brenta::engine::text_font

Definition at line 76 of file engine.hpp.

◆ text_size

int brenta::engine::text_size

Definition at line 77 of file engine.hpp.

◆ uses_audio

bool brenta::engine::uses_audio

Definition at line 64 of file engine.hpp.

◆ uses_input

bool brenta::engine::uses_input

Definition at line 65 of file engine.hpp.

◆ uses_logger

bool brenta::engine::uses_logger

Definition at line 66 of file engine.hpp.

◆ uses_screen

bool brenta::engine::uses_screen

Definition at line 63 of file engine.hpp.

◆ uses_text

bool brenta::engine::uses_text

Definition at line 67 of file engine.hpp.


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