cae  0.0.0
Cross-API graphics engine
Loading...
Searching...
No Matches
cae::EngineConfig Struct Reference

Struct for engine configuration. More...

#include <Engine.hpp>

+ Collaboration diagram for cae::EngineConfig:

Public Attributes

float audio_master_volume = AUDIO::VOLUME
 
bool audio_muted = AUDIO::MUTED
 
glm::vec3 camera_position = glm::vec3(0.0F, 0.0F, 0.0F)
 
glm::vec3 camera_rotation = glm::vec3(0.0F, 0.0F, 0.0F)
 
glm::vec3 camera_direction = glm::vec3(0.0F, 0.0F, -1.0F)
 
float camera_move_speed = CAMERA::MOVE_SPEED
 
float camera_look_speed = CAMERA::LOOK_SPEED
 
float camera_fov = CAMERA::FOV
 
float camera_near_plane = CAMERA::NEAR_PLANE
 
float camera_far_plane = CAMERA::FAR_PLANE
 
bool log_fps = LOG::LOG_FPS
 
std::string network_host = NETWORK::HOST
 
uint16_t network_port = NETWORK::PORT
 
bool renderer_vsync = RENDERER::VSYNC
 
uint16_t renderer_frame_rate_limit = RENDERER::FRAME_RATE_LIMIT
 
Color renderer_clear_color
 
uint16_t window_width = WINDOW::WIDTH
 
uint16_t window_height = WINDOW::HEIGHT
 
bool window_fullscreen = WINDOW::FULLSCREEN
 
std::string window_name = WINDOW::NAME
 
std::string window_icon_path = WINDOW::ICON_PATH
 

Detailed Description

Struct for engine configuration.

Definition at line 27 of file Engine.hpp.

Member Data Documentation

◆ audio_master_volume

float cae::EngineConfig::audio_master_volume = AUDIO::VOLUME

Definition at line 29 of file Engine.hpp.

Referenced by cae::Engine::Engine(), and cae::Application::parseEngineConf().

◆ audio_muted

bool cae::EngineConfig::audio_muted = AUDIO::MUTED

Definition at line 30 of file Engine.hpp.

Referenced by cae::Engine::Engine(), and cae::Application::parseEngineConf().

◆ camera_direction

glm::vec3 cae::EngineConfig::camera_direction = glm::vec3(0.0F, 0.0F, -1.0F)

Definition at line 34 of file Engine.hpp.

Referenced by cae::Application::parseEngineConf().

◆ camera_far_plane

float cae::EngineConfig::camera_far_plane = CAMERA::FAR_PLANE

Definition at line 39 of file Engine.hpp.

Referenced by cae::Application::parseEngineConf().

◆ camera_fov

float cae::EngineConfig::camera_fov = CAMERA::FOV

Definition at line 37 of file Engine.hpp.

Referenced by cae::Application::parseEngineConf().

◆ camera_look_speed

float cae::EngineConfig::camera_look_speed = CAMERA::LOOK_SPEED

Definition at line 36 of file Engine.hpp.

Referenced by cae::Application::parseEngineConf().

◆ camera_move_speed

float cae::EngineConfig::camera_move_speed = CAMERA::MOVE_SPEED

Definition at line 35 of file Engine.hpp.

Referenced by cae::Application::parseEngineConf().

◆ camera_near_plane

float cae::EngineConfig::camera_near_plane = CAMERA::NEAR_PLANE

Definition at line 38 of file Engine.hpp.

Referenced by cae::Application::parseEngineConf().

◆ camera_position

glm::vec3 cae::EngineConfig::camera_position = glm::vec3(0.0F, 0.0F, 0.0F)

Definition at line 32 of file Engine.hpp.

Referenced by cae::Application::parseEngineConf().

◆ camera_rotation

glm::vec3 cae::EngineConfig::camera_rotation = glm::vec3(0.0F, 0.0F, 0.0F)

Definition at line 33 of file Engine.hpp.

Referenced by cae::Application::parseEngineConf().

◆ log_fps

bool cae::EngineConfig::log_fps = LOG::LOG_FPS

Definition at line 41 of file Engine.hpp.

Referenced by cae::Engine::Engine(), and cae::Application::parseEngineConf().

◆ network_host

std::string cae::EngineConfig::network_host = NETWORK::HOST

Definition at line 43 of file Engine.hpp.

Referenced by cae::Engine::Engine(), and cae::Application::parseEngineConf().

◆ network_port

uint16_t cae::EngineConfig::network_port = NETWORK::PORT

Definition at line 44 of file Engine.hpp.

Referenced by cae::Engine::Engine(), and cae::Application::parseEngineConf().

◆ renderer_clear_color

Color cae::EngineConfig::renderer_clear_color
Initial value:
constexpr auto CLEAR_COLOR_B
Definition Common.hpp:52
constexpr auto CLEAR_COLOR_A
Definition Common.hpp:53
constexpr auto CLEAR_COLOR_R
Definition Common.hpp:50
constexpr auto CLEAR_COLOR_G
Definition Common.hpp:51

Definition at line 48 of file Engine.hpp.

Referenced by cae::Engine::Engine(), and cae::Application::parseEngineConf().

◆ renderer_frame_rate_limit

uint16_t cae::EngineConfig::renderer_frame_rate_limit = RENDERER::FRAME_RATE_LIMIT

Definition at line 47 of file Engine.hpp.

Referenced by cae::Engine::Engine(), and cae::Application::parseEngineConf().

◆ renderer_vsync

bool cae::EngineConfig::renderer_vsync = RENDERER::VSYNC

Definition at line 46 of file Engine.hpp.

Referenced by cae::Engine::Engine(), and cae::Application::parseEngineConf().

◆ window_fullscreen

bool cae::EngineConfig::window_fullscreen = WINDOW::FULLSCREEN

Definition at line 55 of file Engine.hpp.

Referenced by cae::Engine::Engine(), and cae::Application::parseEngineConf().

◆ window_height

uint16_t cae::EngineConfig::window_height = WINDOW::HEIGHT

Definition at line 54 of file Engine.hpp.

Referenced by cae::Engine::Engine(), and cae::Application::parseEngineConf().

◆ window_icon_path

std::string cae::EngineConfig::window_icon_path = WINDOW::ICON_PATH

Definition at line 57 of file Engine.hpp.

Referenced by cae::Engine::Engine(), and cae::Application::parseEngineConf().

◆ window_name

std::string cae::EngineConfig::window_name = WINDOW::NAME

Definition at line 56 of file Engine.hpp.

Referenced by cae::Engine::Engine(), and cae::Application::parseEngineConf().

◆ window_width

uint16_t cae::EngineConfig::window_width = WINDOW::WIDTH

Definition at line 53 of file Engine.hpp.

Referenced by cae::Engine::Engine(), and cae::Application::parseEngineConf().


The documentation for this struct was generated from the following file: