Class MultiTextureFBO2

java.lang.Object
zombie.core.textures.MultiTextureFBO2

public final class MultiTextureFBO2 extends Object
  • Field Details

    • current

      public TextureFBO current
    • fboRendered

      public volatile TextureFBO fboRendered
    • autoZoom

      public final boolean[] autoZoom
    • zoomEnabled

      public boolean zoomEnabled
  • Constructor Details

    • MultiTextureFBO2

      public MultiTextureFBO2()
  • Method Details

    • getWidth

      public int getWidth(int playerIndex)
    • getHeight

      public int getHeight(int playerIndex)
    • setZoom

      public void setZoom(int playerIndex, float value)
    • setZoomAndTargetZoom

      public void setZoomAndTargetZoom(int playerIndex, float value)
    • getZoom

      public float getZoom(int playerIndex)
    • getTargetZoom

      public float getTargetZoom(int playerIndex)
    • getDisplayZoom

      public float getDisplayZoom(int playerIndex)
    • setTargetZoom

      public void setTargetZoom(int playerIndex, float target)
    • getDefaultZoomLevels

      public ArrayList<Integer> getDefaultZoomLevels()
    • setZoomLevels

      public void setZoomLevels(Double... zooms)
    • setZoomLevelsFromOption

      public void setZoomLevelsFromOption(String levels)
    • destroy

      public void destroy()
    • create

      public void create(int xres, int yres) throws Exception
      Throws:
      Exception
    • update

      public void update()
    • render

      public void render()
    • getCurrent

      public TextureFBO getCurrent(int nPlayer)
    • getTexture

      public Texture getTexture(int nPlayer)
    • doZoomScroll

      public void doZoomScroll(int playerIndex, int del)
    • getNextZoom

      public float getNextZoom(int playerIndex, int del)
    • getMinZoom

      public float getMinZoom()
    • getMaxZoom

      public float getMaxZoom()
    • test

      public boolean test()