Package gaiasky.util
Class Settings.GraphicsSettings
java.lang.Object
gaiasky.util.SettingsObject
gaiasky.util.Settings.GraphicsSettings
- Enclosing class:
Settings
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionint[]
double
boolean
final double[]
This controls the dynamic resolution levels available as back buffer scales.double
int[]
Resolution of the textures generated procedurally.Graphics texture quality.boolean
int[]
boolean
Whether to output to the main display.boolean
Use the sRGB color space as a frame buffer format.boolean
Fields inherited from class gaiasky.util.SettingsObject
parent
-
Constructor Summary
-
Method Summary
Methods inherited from class gaiasky.util.SettingsObject
isEnabled, setParent
-
Field Details
-
dynamicResolutionScale
public final double[] dynamicResolutionScaleThis controls the dynamic resolution levels available as back buffer scales. Add more items to add more levels. -
quality
Graphics texture quality. -
resolution
public int[] resolution -
resizable
public boolean resizable -
fullScreen
-
vsync
public boolean vsync -
fpsLimit
public double fpsLimit -
backBufferScale
public double backBufferScale -
backBufferResolution
public int[] backBufferResolution -
dynamicResolution
public boolean dynamicResolution -
screenOutput
public boolean screenOutputWhether to output to the main display. -
useSRGB
public boolean useSRGBUse the sRGB color space as a frame buffer format. Only supported by OpenGL 3.2 and above. If this is activated, the internal formatGL21.GL_SRGB8_ALPHA8
is used only when safe graphics mode is not active. -
proceduralGenerationResolution
public int[] proceduralGenerationResolutionResolution of the textures generated procedurally. These are the elevation, moisture, diffuse, specular and normal textures procedurally generated from noise algorithms.
-
-
Constructor Details
-
GraphicsSettings
public GraphicsSettings()
-
-
Method Details
-
setQuality
-
getScreenWidth
public int getScreenWidth() -
getScreenHeight
public int getScreenHeight() -
resize
public void resize(int w, int h) -
notify
Description copied from interface:IObserver
Event notification call. -
clone
- Overrides:
clone
in classSettingsObject
-
setParentRecursive
- Specified by:
setParentRecursive
in classSettingsObject
-
setupListeners
protected void setupListeners()- Specified by:
setupListeners
in classSettingsObject
-
dispose
public void dispose()- Specified by:
dispose
in interfacecom.badlogic.gdx.utils.Disposable
-
apply
public void apply()
-