Package gaiasky.util
Class Settings.GraphicsSettings
java.lang.Object
gaiasky.util.Settings.GraphicsSettings
- All Implemented Interfaces:
IObserver
- Enclosing class:
- Settings
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionint[]
double
float
boolean
final double[]
This controls the dynamic resolution levels available as back buffer scales.double
boolean
int[]
boolean
Whether to output to the main display.boolean
Use the sRGB color space as a frame buffer format.boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
Event notification call.void
resize
(int w, int h) void
setQuality
(String qualityString)
-
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
-
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 -
celestialSphereIndexOfRefraction
public float celestialSphereIndexOfRefraction -
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.
-
-
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.
-