Class ModelHolder<M extends net.minecraft.client.model.Model>
java.lang.Object
com.pixelmonmod.pixelmon.client.models.ModelHolder<M>
- Direct Known Subclasses:
GenericModelHolder
Created by Jay113355 on 12/17/2017.
The general idea behind model holding is you hold all the data necessary to load and or create the model
and then at a future time do so. In practice its lazy loading.
This class is also responsible for tracking the last access time of the model for use in unloading
the model so we do not overload the ram with too many models especially in low memory environments.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
model
-
-
Constructor Details
-
ModelHolder
public ModelHolder()
-
-
Method Details
-
getModel
-
clear
public void clear() -
loadModel
-