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
begin()
void
boolean
charCallback
(long window, int codepoint) void
end()
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
toggle()
void
-
Method Details
-
begin
void begin() -
beginFrame
void beginFrame() -
endFrame
void endFrame() -
end
void end() -
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()
-