Skip to main content

WindowConfig Struct

Configuration structure for creating and initializing a Window. More...

Declaration

struct helios::window::WindowConfig { ... }

Derived Structs

structGLFWWindowConfig

Configuration structure for a GLFWWindow. More...

Public Destructor Index

~WindowConfig ()=default

Public Member Attributes Index

intwidth {800}

Initial width of the Window. More...

intheight {600}

Initial height of the Window. More...

std::stringtitle {"helios - Window"}

Initial title displayed with the window, e.g. the title bar. More...

math::vec4iviewport {0,0, 800, 600}

Initial viewport configuration (x, y, width, height). More...

Description

Configuration structure for creating and initializing a Window.

The struct provides configuration of common parameters, such as width, height, the title and the viewport.

Definition at line 17 of file WindowConfig.ixx.

Public Destructor

~WindowConfig()

virtual helios::window::WindowConfig::~WindowConfig ()
virtual default

Definition at line 19 of file WindowConfig.ixx.

Public Member Attributes

height

int helios::window::WindowConfig::height {600}

Initial height of the Window.

Definition at line 30 of file WindowConfig.ixx.

30 int height{600};

title

std::string helios::window::WindowConfig::title {"helios - Window"}

Initial title displayed with the window, e.g. the title bar.

Definition at line 36 of file WindowConfig.ixx.

36 std::string title{"helios - Window"};

viewport

math::vec4i helios::window::WindowConfig::viewport {0,0, 800, 600}

Initial viewport configuration (x, y, width, height).

Definition at line 42 of file WindowConfig.ixx.

42 math::vec4i viewport{0,0, 800, 600};

width

int helios::window::WindowConfig::width {800}

Initial width of the Window.

Definition at line 24 of file WindowConfig.ixx.

24 int width{800};

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.