Interface TeaGraphics

All Superinterfaces:
StageVisitor
All Known Implementing Classes:
HtmlCanvasGraphics, PixiGraphics, ThreeGraphics, WebGL

public interface TeaGraphics extends StageVisitor
Base interface for the different JavaScript graphics frameworks supported by the TeaVM renderer.
  • Method Details

    • getGraphicsMode

      GraphicsMode getGraphicsMode()
    • init

      void init(TeaMediaLoader mediaLoader)
    • getDisplayWidth

      int getDisplayWidth()
    • getDisplayHeight

      int getDisplayHeight()
    • getDevicePixelRatio

      default float getDevicePixelRatio()