Class GuiEffectBackend

java.lang.Object
com.render.api.gui.GuiEffectBackend

public final class GuiEffectBackend extends Object
Executes flattened GUI layer effects with pooled managed render targets. Shader passes are scissored to expanded surface bounds; large blur radii use dense variance-preserving iterations and quarter-resolution backdrop working sets. Axis-aligned rounded insets use analytic shader coverage, whose antialias ramp stays inside the authored boundary; arbitrary transformed clips upload only their bounded supersampled mask region.

The backend is deliberately fail-closed: any target or pipeline failure leaves the already-painted base GUI untouched.

  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Called by the GUI renderer mixin before extracted GUI draws execute.
    static void
    Called by the GUI renderer mixin after extracted GUI draws execute.
    static boolean
    Executes retained backdrop filters after Minecraft has painted the game and earlier GUI strata, but before the glass component stratum.
    static void
    Consumes one extraction-order marker between closed Minecraft render passes.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • beginGuiPass

      public static void beginGuiPass()
      Called by the GUI renderer mixin before extracted GUI draws execute.
    • renderLayerBoundary

      public static void renderLayerBoundary()
      Consumes one extraction-order marker between closed Minecraft render passes.
    • renderBackdropBoundary

      public static boolean renderBackdropBoundary()
      Executes retained backdrop filters after Minecraft has painted the game and earlier GUI strata, but before the glass component stratum.
      Returns:
      true when RenderLib consumed Minecraft's blur boundary
    • endGuiPass

      public static void endGuiPass()
      Called by the GUI renderer mixin after extracted GUI draws execute.