Interface RendererAccess


public interface RendererAccess
Registration and access for rendering extensions.
  • Field Details

  • Method Details

    • registerRenderer

      void registerRenderer(Renderer plugin)
      Rendering extension mods must implement Renderer and call this method during initialization.

      Only one Renderer plug-in can be active in any game instance. If a second mod attempts to register this method will throw an UnsupportedOperationException.

    • getRenderer

      Access to the current Renderer for creating and retrieving model builders and materials. Will return null if no render plug in is active.
    • hasRenderer

      boolean hasRenderer()
      Performant test for getRenderer() != null.