类 GlfwUtil
java.lang.Object
org.ice1000.jimgui.glfw.GlfwUtil
Only work when using glfw
- 从以下版本开始:
- v0.5
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static longWill not initialize GLFWstatic longcreateWindowPointer(int width, int height, @NotNull String title)Will not initialize GLFWstatic longcreateWindowPointer(int width, int height, @NotNull String title, long anotherWindow)With another already created GLFW windowstatic longcreateWindowPointer(long anotherWindow)Will not initialize GLFW
-
构造器详细资料
-
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
Will not initialize GLFW- 参数:
width- window widthheight- 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 windowwidth- window widthheight- window height- 返回:
- newly created window pointer, 0 if it's not windows
- 另请参阅:
JImGui.fromExistingPointer(long)
-