Class GuiPaintRecorder
java.lang.Object
com.render.api.gui.paint.GuiPaintRecorder
Bounded command recorder used by trusted paint worklets.
A result is limited to 65,536 commands and an estimated 8 MiB of command data.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbox(GuiRect bounds, RenderColor color, float cornerRadius) commands()intvoidfill(GuiRect bounds, RenderColor color) void
-
Field Details
-
MAX_COMMANDS
public static final int MAX_COMMANDS- See Also:
-
MAX_COMMAND_BYTES
public static final int MAX_COMMAND_BYTES- See Also:
-
-
Constructor Details
-
GuiPaintRecorder
public GuiPaintRecorder()
-
-
Method Details
-
fill
-
box
-
image
-
commands
-
estimatedBytes
public int estimatedBytes()
-