Class ConfiguringGLRuntimeCapabilities.MyGLAutoDrawable

    • Constructor Detail

      • MyGLAutoDrawable

        public MyGLAutoDrawable()
        Constructs a new MyGLAutoDrawable, but otherwise does nothing.
    • Method Detail

      • init

        public void init​(com.jogamp.opengl.GLAutoDrawable glAutoDrawable)
        Overridden to configure the OpenGL features used by the WorldWind SDK. See GLEventListener.init(GLAutoDrawable).
        Specified by:
        init in interface com.jogamp.opengl.GLEventListener
        Overrides:
        init in class WorldWindowGLAutoDrawable
        Parameters:
        glAutoDrawable - the drawable
      • configureGLRuntimeCaps

        protected void configureGLRuntimeCaps()
        Configures the OpenGL runtime features used by the WorldWind SDK.
      • isEnableFramebufferObjects

        protected boolean isEnableFramebufferObjects()
        Returns true if the WorldWind SDK should enable use of OpenGL framebuffer objects (if available), and false otherwise.
        Returns:
        true ot enable use of GL framebuffer objects; false otherwise.