public static GLFWcursor createStandardCursor(int shape) { GLFWcursor cursor = new GLFWcursor(); cursor.handle = Glfwint.createStandardCursor(shape); return(cursor); }
public static GLFWcursor createCursor(GLFWimage image, int x, int y) { GLFWcursor cursor = new GLFWcursor(); cursor.handle = Glfwint.createCursor(image.handle, x, y); return(cursor); }
public static void setCursor(GLFWwindow window, GLFWcursor cursor) { Glfwint.setCursor(window.handle, cursor.handle); }
public static void destroyCursor(GLFWcursor cursor) { Glfwint.destroyCursor(cursor.handle); }