Package gaiasky.util

Class Settings.GraphicsSettings

All Implemented Interfaces:
Enclosing class:

public static class Settings.GraphicsSettings extends Object implements IObserver
  • Field Details

    • dynamicResolutionScale

      public final double[] dynamicResolutionScale
      This controls the dynamic resolution levels available as back buffer scales. Add more items to add more levels.
    • quality

      public Settings.GraphicsQuality 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 screenOutput
      Whether to output to the main display.
    • useSRGB

      public boolean useSRGB
      Use the sRGB color space as a frame buffer format. Only supported by OpenGL 3.2 and above. If this is activated, the internal format GL21.GL_SRGB8_ALPHA8 is used only when safe graphics mode is not active.
  • Constructor Details

    • GraphicsSettings

      public GraphicsSettings()
  • Method Details

    • setQuality

      public void setQuality(String qualityString)
    • getScreenWidth

      public int getScreenWidth()
    • getScreenHeight

      public int getScreenHeight()
    • resize

      public void resize(int w, int h)
    • notify

      public void notify(Event event, Object source, Object... data)
      Description copied from interface: IObserver
      Event notification call.
      Specified by:
      notify in interface IObserver
      event - The event type.
      source - The source object, if any.
      data - The data associated with this event.