类 GlfwUtil

java.lang.Object
org.ice1000.jimgui.glfw.GlfwUtil

public class GlfwUtil extends Object
Only work when using glfw
从以下版本开始:
v0.5
  • 构造器详细资料

    • GlfwUtil

      public GlfwUtil()
  • 方法详细资料

    • createWindowPointer

      public static long createWindowPointer()
      Will not initialize GLFW
      返回:
      newly created window pointer, 0 if it's not windows
      另请参阅:
      JImGui.fromExistingPointer(long)
    • createWindowPointer

      public static long createWindowPointer(long anotherWindow)
      Will not initialize GLFW
      参数:
      anotherWindow - the pointer to the former-created window
      返回:
      newly created window pointer, 0 if it's not windows
      另请参阅:
      JImGui.fromExistingPointer(long)
    • createWindowPointer

      public static long createWindowPointer(int width, int height, @NotNull @NotNull String title)
      Will not initialize GLFW
      参数:
      width - window width
      height - window height
      返回:
      newly created window pointer, 0 if it's not windows
      另请参阅:
      JImGui.fromExistingPointer(long)
    • createWindowPointer

      public static long createWindowPointer(int width, int height, @NotNull @NotNull String title, long anotherWindow)
      With another already created GLFW window
      参数:
      anotherWindow - the pointer to the former-created window
      width - window width
      height - window height
      返回:
      newly created window pointer, 0 if it's not windows
      另请参阅:
      JImGui.fromExistingPointer(long)