Class GDXRenderer

  • All Implemented Interfaces:
    com.badlogic.gdx.ApplicationListener, GraphicsContext, Renderer

    public class GDXRenderer
    extends AbstractRenderer
    implements com.badlogic.gdx.ApplicationListener, GraphicsContext
    Renderer built on top of the libGDX framework. In turn, libGDX supports multiple back-end implementations that determine which platforms are supported and which libraries are used.
    • Constructor Detail

      • GDXRenderer

        public GDXRenderer​(Canvas canvas,
                           int framerate,
                           WindowOptions windowOptions)
    • Method Detail

      • create

        public void create()
        Specified by:
        create in interface com.badlogic.gdx.ApplicationListener
      • dispose

        public void dispose()
        Specified by:
        dispose in interface com.badlogic.gdx.ApplicationListener
      • resize

        public void resize​(int width,
                           int height)
        Specified by:
        resize in interface com.badlogic.gdx.ApplicationListener
      • pause

        public void pause()
        Specified by:
        pause in interface com.badlogic.gdx.ApplicationListener
      • resume

        public void resume()
        Specified by:
        resume in interface com.badlogic.gdx.ApplicationListener
      • render

        public void render()
        Specified by:
        render in interface com.badlogic.gdx.ApplicationListener