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
-
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
-
consume3DData
public void consume3DData()Description copied from interface:com.badlogic.gdx.graphics.Texture3DDataUploads 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:
consume3DDatain interfacecom.badlogic.gdx.graphics.Texture3DData
-
getDepth
public int getDepth()- Specified by:
getDepthin interfacecom.badlogic.gdx.graphics.Texture3DData- Returns:
- the depth of this Texture3D
-
getGLType
public int getGLType()- Specified by:
getGLTypein interfacecom.badlogic.gdx.graphics.Texture3DData- Returns:
- the GL type of this Texture3D
-
getHeight
public int getHeight()- Specified by:
getHeightin interfacecom.badlogic.gdx.graphics.Texture3DData- Returns:
- the height of this Texture3D
-
getInternalFormat
public int getInternalFormat()- Specified by:
getInternalFormatin interfacecom.badlogic.gdx.graphics.Texture3DData- Returns:
- the internal format of this Texture3D
-
getWidth
public int getWidth()- Specified by:
getWidthin interfacecom.badlogic.gdx.graphics.Texture3DData- Returns:
- the width of this Texture3D
-
isManaged
public boolean isManaged()- Specified by:
isManagedin interfacecom.badlogic.gdx.graphics.Texture3DData- Returns:
- whether this implementation can cope with a EGL context loss.
-
isPrepared
public boolean isPrepared()- Specified by:
isPreparedin 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.Texture3DDataPrepares 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:
preparein interfacecom.badlogic.gdx.graphics.Texture3DData
-
useMipMaps
public boolean useMipMaps()- Specified by:
useMipMapsin interfacecom.badlogic.gdx.graphics.Texture3DData- Returns:
- whether to generate mipmaps or not.
-