Package com.prineside.luaj.mapping.parts
Class LJ_GDX_graphics.Texture3DData_AD.LIP
java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX_graphics.Texture3DData_AD.LIP
- All Implemented Interfaces:
com.badlogic.gdx.graphics.Texture3DData
,com.esotericsoftware.kryo.KryoSerializable
- Enclosing class:
- LJ_GDX_graphics.Texture3DData_AD
public static class LJ_GDX_graphics.Texture3DData_AD.LIP
extends InterfaceProxy
implements com.badlogic.gdx.graphics.Texture3DData
-
Method Summary
Methods inherited from class com.prineside.luaj.mapping.InterfaceProxy
getLuaObj, read, write
-
Method Details
-
consume3DData
public void consume3DData()Description copied from interface:com.badlogic.gdx.graphics.Texture3DData
Uploads the pixel data to the OpenGL ES texture. The caller must bind an OpenGL ES texture. A call toTexture3DData.prepare()
must preceed a call to this method. Any internal data structures created inTexture3DData.prepare()
should be disposed of here.- Specified by:
consume3DData
in interfacecom.badlogic.gdx.graphics.Texture3DData
-
getDepth
public int getDepth()- Specified by:
getDepth
in interfacecom.badlogic.gdx.graphics.Texture3DData
- Returns:
- the depth of this Texture3D
-
getGLType
public int getGLType()- Specified by:
getGLType
in interfacecom.badlogic.gdx.graphics.Texture3DData
- Returns:
- the GL type of this Texture3D
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfacecom.badlogic.gdx.graphics.Texture3DData
- Returns:
- the height of this Texture3D
-
getInternalFormat
public int getInternalFormat()- Specified by:
getInternalFormat
in interfacecom.badlogic.gdx.graphics.Texture3DData
- Returns:
- the internal format of this Texture3D
-
getWidth
public int getWidth()- Specified by:
getWidth
in interfacecom.badlogic.gdx.graphics.Texture3DData
- Returns:
- the width of this Texture3D
-
isManaged
public boolean isManaged()- Specified by:
isManaged
in interfacecom.badlogic.gdx.graphics.Texture3DData
- Returns:
- whether this implementation can cope with a EGL context loss.
-
isPrepared
public boolean isPrepared()- Specified by:
isPrepared
in interfacecom.badlogic.gdx.graphics.Texture3DData
- Returns:
- whether the TextureData is prepared or not.
-
prepare
public void prepare()Description copied from interface:com.badlogic.gdx.graphics.Texture3DData
Prepares the TextureData for a call toTexture3DData.consume3DData()
. 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.Texture3DData
-
useMipMaps
public boolean useMipMaps()- Specified by:
useMipMaps
in interfacecom.badlogic.gdx.graphics.Texture3DData
- Returns:
- whether to generate mipmaps or not.
-