Blowbox 2017
A 3D Game Engine by Riko Ophorst using DirectX 12
|
#include <blowbox_config.h>
Public Member Functions | |
BlowboxConfig () | |
BlowboxConfig (int argc, char *argv) | |
Public Attributes | |
String | window_title |
Resolution | window_resolution |
String | window_icon_file_path |
bool | enable_imgui |
bool | toggle_deferred |
Configuration of Blowbox.
This struct is meant to configure the BlowboxCore when it gets instantiated. If you want to change a blowbox setting, this is the place to do it.
blowbox::BlowboxConfig::BlowboxConfig | ( | ) |
Constructs a BlowboxConfig.
blowbox::BlowboxConfig::BlowboxConfig | ( | int | argc, |
char * | argv | ||
) |
Constructs a BlowboxConfig from command line arguments.
[in] | argc | The number of arguments in argv. This is passed in by the main function (int main(int argc, char* argv)). |
[in] | argv | The actual value of the command line arguments. This is passed in by the main function (int main(int argc, char* argv)). |
bool blowbox::BlowboxConfig::enable_imgui |
Whether ImGui should be enabled.
bool blowbox::BlowboxConfig::toggle_deferred |
Toggles whether Blowbox renders using a deferred renderer or a forward renderer.
String blowbox::BlowboxConfig::window_icon_file_path |
Resolution blowbox::BlowboxConfig::window_resolution |
The resolution of the main Window that the BlowboxCore instantiates.
String blowbox::BlowboxConfig::window_title |
The title of the main Window that the BlowboxCore instantiates.