Class BufferedImageTextureData

java.lang.Object
gaiasky.util.gdx.graphics.BufferedImageTextureData
All Implemented Interfaces:
com.badlogic.gdx.graphics.TextureData

public class BufferedImageTextureData extends Object implements com.badlogic.gdx.graphics.TextureData
  • Constructor Details

    • BufferedImageTextureData

      public BufferedImageTextureData(com.badlogic.gdx.files.FileHandle file, boolean useMipMaps)
  • Method Details

    • getType

      public com.badlogic.gdx.graphics.TextureData.TextureDataType getType()
      Specified by:
      getType in interface com.badlogic.gdx.graphics.TextureData
    • isPrepared

      public boolean isPrepared()
      Specified by:
      isPrepared in interface com.badlogic.gdx.graphics.TextureData
    • prepare

      public void prepare()
      Specified by:
      prepare in interface com.badlogic.gdx.graphics.TextureData
    • consumePixmap

      public com.badlogic.gdx.graphics.Pixmap consumePixmap()
      Specified by:
      consumePixmap in interface com.badlogic.gdx.graphics.TextureData
    • disposePixmap

      public boolean disposePixmap()
      Specified by:
      disposePixmap in interface com.badlogic.gdx.graphics.TextureData
    • consumeCustomData

      public void consumeCustomData(int target)
      Specified by:
      consumeCustomData in interface com.badlogic.gdx.graphics.TextureData
    • getWidth

      public int getWidth()
      Specified by:
      getWidth in interface com.badlogic.gdx.graphics.TextureData
    • getHeight

      public int getHeight()
      Specified by:
      getHeight in interface com.badlogic.gdx.graphics.TextureData
    • getFormat

      public com.badlogic.gdx.graphics.Pixmap.Format getFormat()
      Specified by:
      getFormat in interface com.badlogic.gdx.graphics.TextureData
    • useMipMaps

      public boolean useMipMaps()
      Specified by:
      useMipMaps in interface com.badlogic.gdx.graphics.TextureData
    • isManaged

      public boolean isManaged()
      Specified by:
      isManaged in interface com.badlogic.gdx.graphics.TextureData