Blowbox 2017
A 3D Game Engine by Riko Ophorst using DirectX 12
Public Member Functions | Public Attributes | List of all members
blowbox::BlowboxConfig Struct Reference

#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
 

Detailed Description

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.

Constructor & Destructor Documentation

blowbox::BlowboxConfig::BlowboxConfig ( )

Constructs a BlowboxConfig.

blowbox::BlowboxConfig::BlowboxConfig ( int  argc,
char *  argv 
)

Constructs a BlowboxConfig from command line arguments.

Parameters
[in]argcThe number of arguments in argv. This is passed in by the main function (int main(int argc, char* argv)).
[in]argvThe actual value of the command line arguments. This is passed in by the main function (int main(int argc, char* argv)).

Member Data Documentation

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

A file path to an image that should be used as the icon for the main Window. Image should be 16x16, 32x32 or 48x48.

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.


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