Class GDXRenderer

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

    public class GDXRenderer
    extends java.lang.Object
    implements Renderer, com.badlogic.gdx.ApplicationListener
    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

    • Method Detail

      • start

        public void start()
        Specified by:
        start in interface Renderer
      • 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
      • takeScreenshot

        public java.lang.String takeScreenshot()
        Description copied from interface: Renderer
        Takes a screenshots of the renderer's current graphics, and saves it to an image. The image is returned as a data URL for a PNG image.
        Specified by:
        takeScreenshot in interface Renderer
      • getPlatform

        public nl.colorize.util.PlatformFamily getPlatform()
        Specified by:
        getPlatform in interface Renderer
      • enableFreeCamera

        public void enableFreeCamera()