Package com.prineside.luaj.mapping.parts
Class LJ_GDX_graphics.TextureArrayData_AF.LIP
java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX_graphics.TextureArrayData_AF.LIP
- All Implemented Interfaces:
com.badlogic.gdx.graphics.TextureArrayData
,com.esotericsoftware.kryo.KryoSerializable
- Enclosing class:
- LJ_GDX_graphics.TextureArrayData_AF
public static class LJ_GDX_graphics.TextureArrayData_AF.LIP
extends InterfaceProxy
implements com.badlogic.gdx.graphics.TextureArrayData
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.badlogic.gdx.graphics.TextureArrayData
com.badlogic.gdx.graphics.TextureArrayData.Factory
-
Field Summary
Fields inherited from class com.prineside.luaj.mapping.InterfaceProxy
luaObj
-
Method Summary
Methods inherited from class com.prineside.luaj.mapping.InterfaceProxy
getLuaObj, read, write
-
Method Details
-
consumeTextureArrayData
public void consumeTextureArrayData()Description copied from interface:com.badlogic.gdx.graphics.TextureArrayData
Uploads the pixel data of the TextureArray layers of the TextureArray to the OpenGL ES texture. The caller must bind an OpenGL ES texture. A call toTextureArrayData.prepare()
must preceed a call to this method. Any internal data structures created inTextureArrayData.prepare()
should be disposed of here.- Specified by:
consumeTextureArrayData
in interfacecom.badlogic.gdx.graphics.TextureArrayData
-
getDepth
public int getDepth()- Specified by:
getDepth
in interfacecom.badlogic.gdx.graphics.TextureArrayData
- Returns:
- the layer count of this TextureArray
-
getGLType
public int getGLType()- Specified by:
getGLType
in interfacecom.badlogic.gdx.graphics.TextureArrayData
- Returns:
- the GL type of this TextureArray
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfacecom.badlogic.gdx.graphics.TextureArrayData
- Returns:
- the height of this TextureArray
-
getInternalFormat
public int getInternalFormat()- Specified by:
getInternalFormat
in interfacecom.badlogic.gdx.graphics.TextureArrayData
- Returns:
- the internal format of this TextureArray
-
getWidth
public int getWidth()- Specified by:
getWidth
in interfacecom.badlogic.gdx.graphics.TextureArrayData
- Returns:
- the width of this TextureArray
-
isManaged
public boolean isManaged()- Specified by:
isManaged
in interfacecom.badlogic.gdx.graphics.TextureArrayData
- Returns:
- whether this implementation can cope with a EGL context loss.
-
isPrepared
public boolean isPrepared()- Specified by:
isPrepared
in interfacecom.badlogic.gdx.graphics.TextureArrayData
- Returns:
- whether the TextureArrayData is prepared or not.
-
prepare
public void prepare()Description copied from interface:com.badlogic.gdx.graphics.TextureArrayData
Prepares the TextureArrayData for a call toTextureArrayData.consumeTextureArrayData()
. This method can be called from a non OpenGL thread and should thus not interact with OpenGL.- Specified by:
prepare
in interfacecom.badlogic.gdx.graphics.TextureArrayData
-