Class ShortTextureData

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

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

    • ShortTextureData

      public ShortTextureData(int w, int h, int internalFormat, int format, int type, boolean useMipMaps, boolean isGpuOnly)
  • 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
    • consumeCustomData

      public void consumeCustomData(int target)
      Specified by:
      consumeCustomData 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
    • 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
    • getBuffer

      public ShortBuffer getBuffer()