#include <Resolution.h>
|
static void | FindResolutionFromWhitelist (float fps, int width, int height, bool is3D, RESOLUTION &resolution) |
|
static bool | FindResolutionFromOverride (float fps, int width, bool is3D, RESOLUTION &resolution, float &weight, bool fallback) |
|
static float | RefreshWeight (float refresh, float fps) |
|
◆ ChooseBestResolution()
◆ FindResolutionFromOverride()
bool CResolutionUtils::FindResolutionFromOverride |
( |
float | fps, |
|
|
int | width, |
|
|
bool | is3D, |
|
|
RESOLUTION & | resolution, |
|
|
float & | weight, |
|
|
bool | fallback ) |
|
staticprotected |
◆ FindResolutionFromWhitelist()
void CResolutionUtils::FindResolutionFromWhitelist |
( |
float | fps, |
|
|
int | width, |
|
|
int | height, |
|
|
bool | is3D, |
|
|
RESOLUTION & | resolution ) |
|
staticprotected |
◆ GetMaxAllowedScreenResolution()
void CResolutionUtils::GetMaxAllowedScreenResolution |
( |
unsigned int & | width, |
|
|
unsigned int & | height ) |
|
static |
Get the max allowed screen resolution, if fullscreen.
- Parameters
-
width | [OUT] Max width resolution |
height | [OUT] Max height resolution |
◆ HasWhitelist()
bool CResolutionUtils::HasWhitelist |
( |
| ) |
|
|
static |
◆ PrintWhitelist()
void CResolutionUtils::PrintWhitelist |
( |
| ) |
|
|
static |
◆ RefreshWeight()
float CResolutionUtils::RefreshWeight |
( |
float | refresh, |
|
|
float | fps ) |
|
staticprotected |
The documentation for this class was generated from the following files: