LwjglApplicationConfiguration¶
-
php\gdx\LwjglApplicationConfiguration
Class ApplicationConfiguration
Properties
- property
useGL30
¶
bool
- property
depth
¶
int
- property
samples
¶
int
- property
width
¶
int
- property
height
¶
int
- property
x
¶
int
- property
y
¶:doc:` </api_en/.types/>`
- property
fullscreen
¶
bool
- property
vSyncEnabled
¶
bool
- property
title
¶
string
- property
forceExit
¶
bool
- property
resizable
¶
bool
- property
audioDeviceSimultaneousSources
¶
int
- property
audioDeviceBufferSize
¶
int
- property
audioDeviceBufferCount
¶
int
- property
foregroundFPS
¶
int
- property
backgroundFPS
¶
int
- property
allowSoftwareMode
¶
bool
- property
preferencesDirectory
¶
string
Methods
setFromDisplayMode
($displayMode)¶
Параметры:
- $displayMode – php\gdx\graphics\DisplayMode
- static
getDesktopDisplayMode
¶
Результат: php\gdx\graphics\DisplayMode
- static
getDisplayModes
¶
Результат: php\gdx\DisplayMode[]
- static
addIcon
($path, $type)¶Adds a window icon. Icons are tried in the order added, the first one that works is used. Typically three icons should be provided: 128x128 (for Mac), 32x32 (for Windows and Linux), and 16x16 (for Windows).
Параметры:
- $path –
string
- $type –
string
- - Classpath, Internal, External, Absolute, Local