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 {800}

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, 800}

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

Description

Configuration structure for creating and initializing a Window.

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

Definition at line 20 of file WindowConfig.ixx.

Public Destructor

~WindowConfig()

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

Definition at line 22 of file WindowConfig.ixx.

Public Member Attributes

height

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

Initial height of the Window.

Definition at line 33 of file WindowConfig.ixx.

33 int height{800};

title

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

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

Definition at line 39 of file WindowConfig.ixx.

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

viewport

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

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

Definition at line 45 of file WindowConfig.ixx.

45 math::vec4i viewport{0,0, 800, 800};

width

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

Initial width of the Window.

Definition at line 27 of file WindowConfig.ixx.

27 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.