Class VeilImGuiImpl

java.lang.Object
foundry.veil.impl.client.imgui.VeilImGuiImpl
All Implemented Interfaces:
VeilImGui, AutoCloseable, org.lwjgl.system.NativeResource

@Internal public class VeilImGuiImpl extends Object implements VeilImGui
Manages the internal ImGui state.
  • Method Details

    • begin

      public void begin()
      Specified by:
      begin in interface VeilImGui
    • beginFrame

      public void beginFrame()
      Specified by:
      beginFrame in interface VeilImGui
    • endFrame

      public void endFrame()
      Specified by:
      endFrame in interface VeilImGui
    • end

      public void end()
      Specified by:
      end in interface VeilImGui
    • onGrabMouse

      public void onGrabMouse()
      Specified by:
      onGrabMouse in interface VeilImGui
    • toggle

      public void toggle()
      Specified by:
      toggle in interface VeilImGui
    • updateFonts

      public void updateFonts()
      Specified by:
      updateFonts in interface VeilImGui
    • addImguiShaders

      public void addImguiShaders(ObjIntConsumer<net.minecraft.resources.ResourceLocation> registry)
      Specified by:
      addImguiShaders in interface VeilImGui
    • mouseButtonCallback

      public boolean mouseButtonCallback(long window, int button, int action, int mods)
      Specified by:
      mouseButtonCallback in interface VeilImGui
    • scrollCallback

      public boolean scrollCallback(long window, double xOffset, double yOffset)
      Specified by:
      scrollCallback in interface VeilImGui
    • keyCallback

      public boolean keyCallback(long window, int key, int scancode, int action, int mods)
      Specified by:
      keyCallback in interface VeilImGui
    • charCallback

      public boolean charCallback(long window, int codepoint)
      Specified by:
      charCallback in interface VeilImGui
    • shouldHideMouse

      public boolean shouldHideMouse()
      Specified by:
      shouldHideMouse in interface VeilImGui
    • free

      public void free()
      Specified by:
      free in interface org.lwjgl.system.NativeResource
    • init

      public static void init(long window)
    • setImGuiPath

      public static void setImGuiPath()
    • get

      public static VeilImGui get()