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 TypeMethodDescriptionvoid
dispose()
Releases all resources of this object.void
flush()
Releases all previously obtainedMesh
es using the theModelCache.MeshPool.obtain(VertexAttributes, int, int)
method.com.badlogic.gdx.graphics.Mesh
obtain
(com.badlogic.gdx.graphics.VertexAttributes p1, int p2, int p3) Will try to reuse or, when not possible to reuse, optionally create aMesh
that 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.Disposable
Releases all resources of this object.- Specified by:
dispose
in interfacecom.badlogic.gdx.utils.Disposable
-
flush
public void flush()Description copied from interface:com.badlogic.gdx.graphics.g3d.ModelCache.MeshPool
Releases all previously obtainedMesh
es using the theModelCache.MeshPool.obtain(VertexAttributes, int, int)
method.- Specified by:
flush
in 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.MeshPool
Will try to reuse or, when not possible to reuse, optionally create aMesh
that meets the specified criteria.- Specified by:
obtain
in 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.
-