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
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Releases all resources of this object.
    void
    Releases all previously obtained Meshes using the the ModelCache.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 a Mesh that meets the specified criteria.

    Methods inherited from class com.prineside.luaj.mapping.InterfaceProxy

    getLuaObj, read, write

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface com.badlogic.gdx.utils.Disposable
    • flush

      public void flush()
      Description copied from interface: com.badlogic.gdx.graphics.g3d.ModelCache.MeshPool
      Releases all previously obtained Meshes using the the ModelCache.MeshPool.obtain(VertexAttributes, int, int) method.
      Specified by:
      flush in interface com.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 a Mesh that meets the specified criteria.
      Specified by:
      obtain in interface com.badlogic.gdx.graphics.g3d.ModelCache.MeshPool
      Parameters:
      p1 - the vertex attributes of the mesh to obtain
      p2 - the minimum amount vertices the mesh should be able to store
      p3 - the minimum amount of indices the mesh should be able to store
      Returns:
      the obtained Mesh, or null when no mesh could be obtained.