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