Class Settings


  • public class Settings
    extends Object
    Settings is a singleton that holds general settings that configure Imaging classes instantiation.
    • Field Detail

      • glCapabilities

        protected com.jogamp.opengl.GLCapabilities glCapabilities
    • Method Detail

      • detectProfile

        public static com.jogamp.opengl.GLProfile detectProfile()
      • getOffscreenCapabilities

        public static com.jogamp.opengl.GLCapabilities getOffscreenCapabilities​(com.jogamp.opengl.GLProfile glp)
      • getInstance

        public static Settings getInstance()
        Return the single allowed instance of Settings.
      • setHardwareAccelerated

        public void setHardwareAccelerated​(boolean hardwareAccelerated)
        Modifies the acceleration status for all INativeCanvas.Canvas instantiations. This doesn't modify the status of canvases that have already been instantiated.
      • isHardwareAccelerated

        public boolean isHardwareAccelerated()
        Returns true if hardware acceleration is used for 3d graphics.
      • getGLCapabilitiesClone

        public com.jogamp.opengl.GLCapabilities getGLCapabilitiesClone()
        Returns a copy of the current GL2 capabilities.
      • getGLCapabilities

        public com.jogamp.opengl.GLCapabilities getGLCapabilities()
      • setGLCapabilities

        public void setGLCapabilities​(com.jogamp.opengl.GLCapabilities glCapabilities)