Class GuiEffectBackend
java.lang.Object
com.render.api.gui.GuiEffectBackend
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 TypeMethodDescriptionstatic voidCalled by the GUI renderer mixin before extracted GUI draws execute.static voidCalled by the GUI renderer mixin after extracted GUI draws execute.static booleanExecutes retained backdrop filters after Minecraft has painted the game and earlier GUI strata, but before the glass component stratum.static voidConsumes one extraction-order marker between closed Minecraft render passes.
-
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:
truewhen RenderLib consumed Minecraft's blur boundary
-
endGuiPass
public static void endGuiPass()Called by the GUI renderer mixin after extracted GUI draws execute.
-