Class LJ_GDX_graphics.TextureData_AH.LIP

java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX_graphics.TextureData_AH.LIP
All Implemented Interfaces:
com.badlogic.gdx.graphics.TextureData, com.esotericsoftware.kryo.KryoSerializable
Enclosing class:
LJ_GDX_graphics.TextureData_AH

public static class LJ_GDX_graphics.TextureData_AH.LIP extends InterfaceProxy implements com.badlogic.gdx.graphics.TextureData
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.badlogic.gdx.graphics.TextureData

    com.badlogic.gdx.graphics.TextureData.Factory, com.badlogic.gdx.graphics.TextureData.TextureDataType
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Uploads the pixel data to the OpenGL ES texture.
    com.badlogic.gdx.graphics.Pixmap
    Returns the Pixmap for upload by Texture.
    boolean
     
    com.badlogic.gdx.graphics.Pixmap.Format
     
    int
     
    com.badlogic.gdx.graphics.TextureData.TextureDataType
     
    int
     
    boolean
     
    boolean
     
    void
    Prepares the TextureData for a call to TextureData.consumePixmap() or TextureData.consumeCustomData(int).
    boolean
     

    Methods inherited from class com.prineside.luaj.mapping.InterfaceProxy

    getLuaObj, read, write

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • consumeCustomData

      public void consumeCustomData(int p1)
      Description copied from interface: com.badlogic.gdx.graphics.TextureData
      Uploads the pixel data to the OpenGL ES texture. The caller must bind an OpenGL ES texture. A call to TextureData.prepare() must preceed a call to this method. Any internal data structures created in TextureData.prepare() should be disposed of here.
      Specified by:
      consumeCustomData in interface com.badlogic.gdx.graphics.TextureData
    • consumePixmap

      public com.badlogic.gdx.graphics.Pixmap consumePixmap()
      Description copied from interface: com.badlogic.gdx.graphics.TextureData
      Returns the Pixmap for upload by Texture. A call to TextureData.prepare() must precede a call to this method. Any internal data structures created in TextureData.prepare() should be disposed of here.
      Specified by:
      consumePixmap in interface com.badlogic.gdx.graphics.TextureData
      Returns:
      the pixmap.
    • disposePixmap

      public boolean disposePixmap()
      Specified by:
      disposePixmap in interface com.badlogic.gdx.graphics.TextureData
      Returns:
      whether the caller of TextureData.consumePixmap() should dispose the Pixmap returned by TextureData.consumePixmap()
    • getFormat

      public com.badlogic.gdx.graphics.Pixmap.Format getFormat()
      Specified by:
      getFormat in interface com.badlogic.gdx.graphics.TextureData
      Returns:
      the Pixmap.Format of the pixel data
    • getHeight

      public int getHeight()
      Specified by:
      getHeight in interface com.badlogic.gdx.graphics.TextureData
      Returns:
      the height of the pixel data
    • getType

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

      public int getWidth()
      Specified by:
      getWidth in interface com.badlogic.gdx.graphics.TextureData
      Returns:
      the width of the pixel data
    • isManaged

      public boolean isManaged()
      Specified by:
      isManaged in interface com.badlogic.gdx.graphics.TextureData
      Returns:
      whether this implementation can cope with a EGL context loss.
    • isPrepared

      public boolean isPrepared()
      Specified by:
      isPrepared in interface com.badlogic.gdx.graphics.TextureData
      Returns:
      whether the TextureData is prepared or not.
    • prepare

      public void prepare()
      Description copied from interface: com.badlogic.gdx.graphics.TextureData
      Prepares the TextureData for a call to TextureData.consumePixmap() or TextureData.consumeCustomData(int). This method can be called from a non OpenGL thread and should thus not interact with OpenGL.
      Specified by:
      prepare in interface com.badlogic.gdx.graphics.TextureData
    • useMipMaps

      public boolean useMipMaps()
      Specified by:
      useMipMaps in interface com.badlogic.gdx.graphics.TextureData
      Returns:
      whether to generate mipmaps or not.