Vesper 0.5.1
Vesper is short form for the Latin word for "Bat", as Vesper is designed to be small, lightweight, and easily handle things like particles and flocking behaviors in accordance with the nature of bats. \n It is meant to be a particle simulation, VFX editor, and CAN be used secondarily as a small game engine.
GitHub | Vesper Updates | Creator
Loading...
Searching...
No Matches
Vesper::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

std::string Title
uint32_t Width
uint32_t Height

Detailed Description

Holds the data for window configuration.

Constructor & Destructor Documentation

◆ WindowProps()

Vesper::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.
36 : Title(title), Width(width), Height(height) {}
uint32_t Height
Definition Window.h:26
uint32_t Width
Definition Window.h:25
std::string Title
Definition Window.h:24

References Height, and Width.

Member Data Documentation

◆ Height

uint32_t Vesper::WindowProps::Height

◆ Title

std::string Vesper::WindowProps::Title

◆ Width

uint32_t Vesper::WindowProps::Width

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