game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
FramerateSettings Struct Reference

Framerate and refresh rate settings. More...

#include <performance_profile_service.h>

Public Attributes

bool enableVRR = false
 Enable Variable Refresh Rate.
int fpsLimit = 0
 FPS limit (0 = unlimited).
int gamescopeUnfocusedFps = 0
 FPS when unfocused (0 = same as focused).
bool halfRateShading = false
 Enable half-rate shading (power saving).
int refreshRate = 0
 Target refresh rate (0 = native).
bool useGamescope = false
 Use Gamescope compositor.

Detailed Description

Framerate and refresh rate settings.

Definition at line 71 of file performance_profile_service.h.

Member Data Documentation

◆ enableVRR

◆ fpsLimit

◆ gamescopeUnfocusedFps

int FramerateSettings::gamescopeUnfocusedFps = 0

FPS when unfocused (0 = same as focused).

Definition at line 80 of file performance_profile_service.h.

Referenced by PerformanceProfileService::profileToGamescopeArgs().

◆ halfRateShading

bool FramerateSettings::halfRateShading = false

Enable half-rate shading (power saving).

Definition at line 76 of file performance_profile_service.h.

Referenced by PerformanceProfileService::createFromPreset().

◆ refreshRate

int FramerateSettings::refreshRate = 0

◆ useGamescope

bool FramerateSettings::useGamescope = false

Use Gamescope compositor.

Definition at line 79 of file performance_profile_service.h.

Referenced by PerformanceProfileService::exportProfileToJson(), and jsonParseProfile().


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