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.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called towards the beginning of the model loading process, every time resource are (re)loaded.
    static void
    Registers a model loading plugin.
  • Method Details

    • register

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

      void initialize(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.