Interface ModelLoadingPlugin

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ModelLoadingPlugin
A model loading plugin is used to extend the model loading process through the passed ModelLoadingPlugin.Context object.

PreparableModelLoadingPlugin can be used if some resources need to be loaded from the ResourceManager.

  • Method Details

    • register

      static void register(ModelLoadingPlugin plugin)
      Registers a model loading plugin.
    • onInitializeModelLoader

      void onInitializeModelLoader(ModelLoadingPlugin.Context pluginContext)
      Called towards the beginning of the model loading process, every time resource are (re)loaded. Use the context object to extend model loading as desired.