Interface BackgroundEveryFramePlugin


public interface BackgroundEveryFramePlugin
Running on another thread, not the vanilla thread.

Always running unless it was expired, the plugin run once in each frame, and then will check the expired sate.

All the plugin is unordered execution on random background thread,the order in which they are added is not guaranteed to be preserved during execution.

If a new plugin is added during the current frame, it is considered to start running only from the next frame onward.

  • Method Details

    • isRenderingExpired

      default boolean isRenderingExpired()
    • runBeginRendering

      default void runBeginRendering(float amount, boolean isPaused)
    • runBeginIllumination

      default void runBeginIllumination(float amount, boolean isPaused)
    • runAfterRendering

      default void runAfterRendering(float amount, boolean isPaused)
    • isAdvanceExpired

      default boolean isAdvanceExpired()
    • runBeginAdvance

      default void runBeginAdvance(float amount, boolean isPaused)
    • runAfterAdvance

      default void runAfterAdvance(float amount, boolean isPaused)