Class ManagedHudLayoutRuntime.ElementRuntime
java.lang.Object
com.render.api.gui.ManagedHudLayoutRuntime.ElementRuntime
- Enclosing class:
ManagedHudLayoutRuntime
-
Method Summary
Modifier and TypeMethodDescriptionReturns cumulative structural work counters for this element's bounded retained graph cache.voidcurrentPlacement(HudPlacement placement, boolean persist) booleanintbooleanvoideditorVisible(boolean editorVisible) element()id()intlayer()voidrender(net.minecraft.client.gui.GuiGraphicsExtractor graphics, int guiWidth, int guiHeight, net.minecraft.client.DeltaTracker deltaTracker) voidresetToDefault(boolean persist) com.render.api.gui.HudLayoutElementShellshell()voidtick()
-
Method Details
-
id
-
layer
public int layer() -
declarationIndex
public int declarationIndex() -
shell
public com.render.api.gui.HudLayoutElementShell shell() -
element
-
currentPlacement
-
customized
public boolean customized() -
currentPlacement
-
resetToDefault
public void resetToDefault(boolean persist) -
editorVisible
public void editorVisible(boolean editorVisible) -
editorVisible
public boolean editorVisible() -
tick
public void tick() -
render
public void render(net.minecraft.client.gui.GuiGraphicsExtractor graphics, int guiWidth, int guiHeight, net.minecraft.client.DeltaTracker deltaTracker) -
compositorCacheStats
Returns cumulative structural work counters for this element's bounded retained graph cache. Reuse keeps the compilation identifier stable, while painting, live backdrop capture and GPU effect execution still run. Closing the owning runtime releases its retained nodes without resetting cumulative counters.- Returns:
- immutable structural work counters
-
renderStats
- Returns:
- statistics for the most recently submitted graph; its frame ID stays stable on cache reuse
-