Class GuiAreaRecorder
java.lang.Object
net.ixdarklord.coolcatcanvas.internal.client.gui.GuiAreaRecorder
Records the box of everything the HUD and the open screen's own pass add to the GUI render state each frame
(
GuiRenderStateMixin, while GuiFrameMixin and ScreenMixin say which is being drawn), and
keeps the last whole frame's for GuiAreas. Render thread only.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic GuiAreaRecorder.PhaseStarts recording for this part of the frame; returns the part it was, toend(GuiAreaRecorder.Phase)with.static voidend(GuiAreaRecorder.Phase was) static voidendFrame()The frame's GUI is all gathered: what it drew becomes what the areas are.hud()static voidpause()static voidrecord(net.minecraft.client.gui.navigation.ScreenRectangle bounds) static voidresume()screen()
-
Method Details
-
begin
Starts recording for this part of the frame; returns the part it was, toend(GuiAreaRecorder.Phase)with. -
end
-
pause
public static void pause() -
resume
public static void resume() -
endFrame
public static void endFrame()The frame's GUI is all gathered: what it drew becomes what the areas are. -
hud
-
screen
-