Hubris Engine Dev
A Project to learn and get into Game Engine developement.
 
Loading...
Searching...
No Matches
Hubris::EngineConfig Struct Reference

Used to configure the engine on instantiation. More...

#include <Engine.h>

+ Collaboration diagram for Hubris::EngineConfig:

Public Attributes

unsigned int ThreadCount = std::thread::hardware_concurrency() - 1
 Maximum of Thread to be spawned. (default: std::thread::hardware_concurrency() - 1)
 
RenderAPI GraphicsBackend = RenderAPI::Vulkan
 
std::string FileRoot = ""
 Set to empty string to make the execution folder the root.
 
std::string ProjectName = "Default"
 The Application/Game Name. Will be set as the Title of the window (used also by vulkan).
 
Version ProjectVersion = { 0,0,0,0 }
 
Graphics::Viewport WindowDimension = {0, 0}
 
StartupCallback StartUpCallback = nullptr
 

Detailed Description

Used to configure the engine on instantiation.

Definition at line 28 of file Engine.h.

Member Data Documentation

◆ FileRoot

std::string Hubris::EngineConfig::FileRoot = ""

Set to empty string to make the execution folder the root.

Default Value is an Empty string.

Definition at line 39 of file Engine.h.

◆ GraphicsBackend

RenderAPI Hubris::EngineConfig::GraphicsBackend = RenderAPI::Vulkan

Definition at line 33 of file Engine.h.

◆ ProjectName

std::string Hubris::EngineConfig::ProjectName = "Default"

The Application/Game Name. Will be set as the Title of the window (used also by vulkan).

Definition at line 43 of file Engine.h.

◆ ProjectVersion

Version Hubris::EngineConfig::ProjectVersion = { 0,0,0,0 }

Definition at line 45 of file Engine.h.

◆ StartUpCallback

StartupCallback Hubris::EngineConfig::StartUpCallback = nullptr

Definition at line 49 of file Engine.h.

◆ ThreadCount

unsigned int Hubris::EngineConfig::ThreadCount = std::thread::hardware_concurrency() - 1

Maximum of Thread to be spawned. (default: std::thread::hardware_concurrency() - 1)

Definition at line 32 of file Engine.h.

◆ WindowDimension

Graphics::Viewport Hubris::EngineConfig::WindowDimension = {0, 0}

Definition at line 47 of file Engine.h.


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