Package com.prineside.luaj.mapping.parts
Class LJ_GDX_graphics_g3d.MeshPool_H.LIP
java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX_graphics_g3d.MeshPool_H.LIP
- All Implemented Interfaces:
com.badlogic.gdx.graphics.g3d.ModelCache.MeshPool,com.badlogic.gdx.utils.Disposable,com.esotericsoftware.kryo.KryoSerializable
- Enclosing class:
- LJ_GDX_graphics_g3d.MeshPool_H
public static class LJ_GDX_graphics_g3d.MeshPool_H.LIP
extends InterfaceProxy
implements com.badlogic.gdx.graphics.g3d.ModelCache.MeshPool
-
Field Summary
Fields inherited from class com.prineside.luaj.mapping.InterfaceProxy
luaObj -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Releases all resources of this object.voidflush()Releases all previously obtainedMeshes using the theModelCache.MeshPool.obtain(VertexAttributes, int, int)method.com.badlogic.gdx.graphics.Meshobtain(com.badlogic.gdx.graphics.VertexAttributes p1, int p2, int p3) Will try to reuse or, when not possible to reuse, optionally create aMeshthat meets the specified criteria.Methods inherited from class com.prineside.luaj.mapping.InterfaceProxy
getLuaObj, read, write
-
Method Details
-
dispose
public void dispose()Description copied from interface:com.badlogic.gdx.utils.DisposableReleases all resources of this object.- Specified by:
disposein interfacecom.badlogic.gdx.utils.Disposable
-
flush
public void flush()Description copied from interface:com.badlogic.gdx.graphics.g3d.ModelCache.MeshPoolReleases all previously obtainedMeshes using the theModelCache.MeshPool.obtain(VertexAttributes, int, int)method.- Specified by:
flushin interfacecom.badlogic.gdx.graphics.g3d.ModelCache.MeshPool
-
obtain
public com.badlogic.gdx.graphics.Mesh obtain(com.badlogic.gdx.graphics.VertexAttributes p1, int p2, int p3) Description copied from interface:com.badlogic.gdx.graphics.g3d.ModelCache.MeshPoolWill try to reuse or, when not possible to reuse, optionally create aMeshthat meets the specified criteria.- Specified by:
obtainin interfacecom.badlogic.gdx.graphics.g3d.ModelCache.MeshPool- Parameters:
p1- the vertex attributes of the mesh to obtainp2- the minimum amount vertices the mesh should be able to storep3- the minimum amount of indices the mesh should be able to store- Returns:
- the obtained Mesh, or null when no mesh could be obtained.
-