Jopnal Engine  alpha 0.4
Simple Component Based 2D/3D Game Engine
Public Member Functions | Public Attributes | List of all members
jop::Window::Settings Struct Reference

#include <Window.hpp>

Public Member Functions

 Settings (const bool loadSettings)
 Constructor. More...
 

Public Attributes

glm::uvec4 colorBits
 Color bits. More...
 
glm::uvec2 size
 Window size (client area) More...
 
std::string title
 Window title. More...
 
DisplayMode displayMode
 Display mode. More...
 
unsigned int samples
 Sample count for multi sampling. More...
 
unsigned int depthBits
 Depth bits. More...
 
unsigned int stencilBits
 Stencil bits. More...
 
bool visible
 Is the window initially visible? More...
 
bool vSync
 Enable vertical sync? More...
 
bool debug
 Ask for a debug context? More...
 

Detailed Description

Window settings

Definition at line 89 of file Window/Window.hpp.

Constructor & Destructor Documentation

jop::Window::Settings::Settings ( const bool  loadSettings)

Constructor.

Parameters
loadSettingsLoad the settings using SettingManager?

Member Data Documentation

glm::uvec4 jop::Window::Settings::colorBits

Color bits.

Definition at line 97 of file Window/Window.hpp.

bool jop::Window::Settings::debug

Ask for a debug context?

Definition at line 106 of file Window/Window.hpp.

unsigned int jop::Window::Settings::depthBits

Depth bits.

Definition at line 102 of file Window/Window.hpp.

DisplayMode jop::Window::Settings::displayMode

Display mode.

Definition at line 100 of file Window/Window.hpp.

unsigned int jop::Window::Settings::samples

Sample count for multi sampling.

Definition at line 101 of file Window/Window.hpp.

glm::uvec2 jop::Window::Settings::size

Window size (client area)

Definition at line 98 of file Window/Window.hpp.

unsigned int jop::Window::Settings::stencilBits

Stencil bits.

Definition at line 103 of file Window/Window.hpp.

std::string jop::Window::Settings::title

Window title.

Definition at line 99 of file Window/Window.hpp.

bool jop::Window::Settings::visible

Is the window initially visible?

Definition at line 104 of file Window/Window.hpp.

bool jop::Window::Settings::vSync

Enable vertical sync?

Definition at line 105 of file Window/Window.hpp.


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