sgltk 0.6
Simple OpenGL Tool Kit
Loading...
Searching...
No Matches
sgltk::SYS_INFO Struct Reference

System information. More...

#include <app.h>

Public Attributes

std::string platform_name
 The name of the platform.
int num_logical_cores
 The number of logical cores.
int system_ram
 The amount of ram in MB.
int num_displays
 The number of displays.
std::vector< SDL_DisplayMode > desktop_display_modes
 The display modes of each display.
std::vector< std::vector< SDL_DisplayMode > > supported_display_modes
 A list of other supported display modes for every detected display.
std::vector< SDL_Rect > display_bounds
 Display bounds.
int max_patch_vertices
 The maximum number of vertices in a patch.
int max_tess_level
 The maximum supported tessellation level.

Detailed Description

System information.

Definition at line 88 of file app.h.

Member Data Documentation

◆ desktop_display_modes

std::vector<SDL_DisplayMode> sgltk::SYS_INFO::desktop_display_modes

The display modes of each display.

Definition at line 108 of file app.h.

◆ display_bounds

std::vector<SDL_Rect> sgltk::SYS_INFO::display_bounds

Display bounds.

Definition at line 117 of file app.h.

◆ max_patch_vertices

int sgltk::SYS_INFO::max_patch_vertices

The maximum number of vertices in a patch.

Definition at line 121 of file app.h.

◆ max_tess_level

int sgltk::SYS_INFO::max_tess_level

The maximum supported tessellation level.

Definition at line 125 of file app.h.

◆ num_displays

int sgltk::SYS_INFO::num_displays

The number of displays.

Definition at line 104 of file app.h.

◆ num_logical_cores

int sgltk::SYS_INFO::num_logical_cores

The number of logical cores.

Definition at line 96 of file app.h.

◆ platform_name

std::string sgltk::SYS_INFO::platform_name

The name of the platform.

Definition at line 92 of file app.h.

◆ supported_display_modes

std::vector<std::vector<SDL_DisplayMode> > sgltk::SYS_INFO::supported_display_modes

A list of other supported display modes for every detected display.

Definition at line 113 of file app.h.

◆ system_ram

int sgltk::SYS_INFO::system_ram

The amount of ram in MB.

Definition at line 100 of file app.h.


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