Muto 0.0.1
Cross-Platform Application Template
GitHub Repo | Muto Updates | Muto's Author
Loading...
Searching...
No Matches
Muto::WindowProps Struct Reference

Holds the data for window configuration. More...

#include <Window.h>

Public Member Functions

 WindowProps (const std::string &title="Vesper Engine", uint32_t width=1600, uint32_t height=900)
 Constructor to initialize WindowProps with given or default values.
 

Public Attributes

uint32_t Height
 
std::string Title
 
uint32_t Width
 

Detailed Description

Holds the data for window configuration.

Constructor & Destructor Documentation

◆ WindowProps()

Muto::WindowProps::WindowProps ( const std::string &  title = "Vesper Engine",
uint32_t  width = 1600,
uint32_t  height = 900 
)
inline

Constructor to initialize WindowProps with given or default values.

Parameters
titleThe title of the window.
widthThe width of the window.
heightThe height of the window.
constexpr Scope< T > CreateScope(Args &&... args)
Creates a Scope (unique_ptr) for the given type and constructor arguments.
Definition Defines_Macros.h:51
uint32_t Width
Definition Window.h:24
uint32_t Height
Definition Window.h:25
std::string Title
Definition Window.h:23

References Height, Title, and Width.

Member Data Documentation

◆ Height

uint32_t Muto::WindowProps::Height

◆ Title

std::string Muto::WindowProps::Title

◆ Width

uint32_t Muto::WindowProps::Width

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