Package gaiasky.util

Class ModelCache

java.lang.Object
gaiasky.util.ModelCache

public class ModelCache
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    static ModelCache cache
    Model cache
    IntModelBuilder mb  
  • Constructor Summary

    Constructors
    Constructor Description
    ModelCache()  
  • Method Summary

    Modifier and Type Method Description
    void dispose()  
    Pair<IntModel,​java.util.Map<java.lang.String,​com.badlogic.gdx.graphics.g3d.Material>> getModel​(java.lang.String shape, java.util.Map<java.lang.String,​java.lang.Object> params, int attributes)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ModelCache

      public ModelCache()
  • Method Details

    • getModel

      public Pair<IntModel,​java.util.Map<java.lang.String,​com.badlogic.gdx.graphics.g3d.Material>> getModel​(java.lang.String shape, java.util.Map<java.lang.String,​java.lang.Object> params, int attributes)
    • dispose

      public void dispose()