JNGL
Public Attributes | List of all members
AppParameters Struct Reference

Parameters used to initialize the main window. More...

#include <jngl/init.hpp>

Public Attributes

std::string displayName
 Display name of the application which will be used in the window title for example.
 
std::optional< jngl::Vec2screenSize
 Size of the canvas in screen pixels, see jngl::getScreenSize() More...
 
bool pixelArt = false
 Activates pixel-perfect magnifying of textures (nearest-neighbor interpolation)
 

Detailed Description

Parameters used to initialize the main window.

Definition at line 21 of file init.hpp.

Collaboration diagram for AppParameters:
[legend]

Member Data Documentation

◆ screenSize

Size of the canvas in screen pixels, see jngl::getScreenSize()

If not specified JNGL will create a fullscreen Window with the maximum of space available.

Definition at line 28 of file init.hpp.


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