toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.render
/
GameWindow
/
Quality
/
PERFORMANCE
PERFORMANCE
PERFORMANCE
Will render to lower resolutions, ignoring devicePixelRatio on retina-like screens
Members
Properties
level
Link copied to clipboard
open
override
val
level
:
Float
name
Link copied to clipboard
val
name
:
String
ordinal
Link copied to clipboard
val
ordinal
:
Int
Functions
compare
To
Link copied to clipboard
open
operator
fun
compareTo
(
other
:
Quality
)
:
Int
compute
Target
Scale
Link copied to clipboard
fun
computeTargetScale
(
width
:
Int
,
height
:
Int
,
devicePixelRatio
:
Float
,
targetPixels
:
Int
=
UPPER_BOUND_RENDERED_PIXELS
)
:
Float