WindowConfig Struct
Configuration structure for creating and initializing a Window. More...
Declaration
Derived Structs
| struct | GLFWWindowConfig |
|
Configuration structure for a GLFWWindow. More... | |
Public Destructor Index
| ~WindowConfig ()=default | |
Public Member Attributes Index
| int | width {800} |
| int | height {800} |
| int | aspectRatioNumer {0} |
|
Numerator of the aspect ratio. More... | |
| int | aspectRatioDenom {0} |
|
Denominator of the aspect ratio. More... | |
| std::string | title {"helios - Window"} |
|
Initial title displayed with the window, e.g. the title bar. More... | |
Description
Configuration structure for creating and initializing a Window.
Provides common parameters such as dimensions, aspect ratio, and title.
Definition at line 20 of file WindowConfig.ixx.
Public Destructor
~WindowConfig()
| virtual default |
Definition at line 22 of file WindowConfig.ixx.
Public Member Attributes
aspectRatioDenom
|
Denominator of the aspect ratio.
This value represents the denominator part of the aspect ratio used for the window. It is paired with `aspectRatioNumer` to define the aspect ratio as a fraction (numerator/denominator). A value of 0 indicates that no specific aspect ratio is set.
Definition at line 53 of file WindowConfig.ixx.
aspectRatioNumer
|
Numerator of the aspect ratio.
This value represents the numerator part of the aspect ratio used for the window. It is paired with `aspectRatioDenom` to define the aspect ratio as a fraction (numerator/denominator). A value of 0 indicates that no specific aspect ratio is set.
Definition at line 43 of file WindowConfig.ixx.
height
|
title
|
Initial title displayed with the window, e.g. the title bar.
Definition at line 59 of file WindowConfig.ixx.
width
|
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.