Package foundry.veil.api.client.imgui
Interface VeilImGui
- All Known Implementing Classes:
InactiveVeilImGuiImpl
,VeilImGuiImpl
@Internal
public interface VeilImGui
Manages the internal ImGui state.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addImguiShaders
(ObjIntConsumer<net.minecraft.resources.ResourceLocation> registry) void
boolean
charCallback
(long window, int codepoint) void
endFrame()
boolean
keyCallback
(long window, int key, int scancode, int action, int mods) boolean
mouseButtonCallback
(long window, int button, int action, int mods) void
boolean
scrollCallback
(long window, double xOffset, double yOffset) boolean
void
start()
void
stop()
void
toggle()
void
-
Method Details
-
start
void start() -
stop
void stop() -
beginFrame
void beginFrame() -
endFrame
void endFrame() -
onGrabMouse
void onGrabMouse() -
toggle
void toggle() -
updateFonts
void updateFonts() -
addImguiShaders
-
mouseButtonCallback
boolean mouseButtonCallback(long window, int button, int action, int mods) -
scrollCallback
boolean scrollCallback(long window, double xOffset, double yOffset) -
keyCallback
boolean keyCallback(long window, int key, int scancode, int action, int mods) -
charCallback
boolean charCallback(long window, int codepoint) -
shouldHideMouse
boolean shouldHideMouse()
-