public static bool GetKey(GlfwWindowPtr window, Key key) { return(GlfwDelegates.glfwGetKey(window, key) != 0); }
public static GlfwMonitorPtr GetPrimaryMonitor() { return(GlfwDelegates.glfwGetPrimaryMonitor()); }
public static void GetMonitorPhysicalSize(GlfwMonitorPtr monitor, out int width, out int height) { GlfwDelegates.glfwGetMonitorPhysicalSize(monitor, out width, out height); }
public static void SwapInterval(int interval) { GlfwDelegates.glfwSwapInterval(interval); }
public static IntPtr GetProcAddress(string procname) { return(GlfwDelegates.glfwGetProcAddress(procname)); }
public static void SetTime(double time) { GlfwDelegates.glfwSetTime(time); }
public static GlfwWindowPtr GetCurrentContext() { return(GlfwDelegates.glfwGetCurrentContext()); }
public static GlfwCharFun SetCharCallback(GlfwWindowPtr window, GlfwCharFun cbfun) { charFun = cbfun; return(GlfwDelegates.glfwSetCharCallback(window, cbfun)); }
public static GlfwMouseButtonFun SetMouseButtonCallback(GlfwWindowPtr window, GlfwMouseButtonFun cbfun) { mouseButtonFun = cbfun; return(GlfwDelegates.glfwSetMouseButtonCallback(window, cbfun)); }
public static void SetCursorPos(GlfwWindowPtr window, double xpos, double ypos) { GlfwDelegates.glfwSetCursorPos(window, xpos, ypos); }
public static GlfwKeyFun SetKeyCallback(GlfwWindowPtr window, GlfwKeyFun cbfun) { keyFun = cbfun; return(GlfwDelegates.glfwSetKeyCallback(window, cbfun)); }
public static void Terminate() { GlfwDelegates.glfwTerminate(); }
public static void GetCursorPos(GlfwWindowPtr window, out double xpos, out double ypos) { GlfwDelegates.glfwGetCursorPos(window, out xpos, out ypos); }
public static bool GetMouseButton(GlfwWindowPtr window, MouseButton button) { return(GlfwDelegates.glfwGetMouseButton(window, button) != 0); }
public static double GetTime() { return(GlfwDelegates.glfwGetTime()); }
public static GlfwCursorEnterFun SetCursorEnterCallback(GlfwWindowPtr window, GlfwCursorEnterFun cbfun) { cursorEnterFun = cbfun; return(GlfwDelegates.glfwSetCursorEnterCallback(window, cbfun)); }
public static string GetVersionString() { return(new string(GlfwDelegates.glfwGetVersionString())); }
public static GlfwScrollFun SetScrollCallback(GlfwWindowPtr window, GlfwScrollFun cbfun) { scrollFun = cbfun; return(GlfwDelegates.glfwSetScrollCallback(window, cbfun)); }
public static void MakeContextCurrent(GlfwWindowPtr window) { GlfwDelegates.glfwMakeContextCurrent(window); }
public static bool JoystickPresent(Joystick joy) { return(GlfwDelegates.glfwJoystickPresent(joy) == 1); }
public static void SwapBuffers(GlfwWindowPtr window) { GlfwDelegates.glfwSwapBuffers(window); }
public static void GetVersion(out int major, out int minor, out int rev) { GlfwDelegates.glfwGetVersion(out major, out minor, out rev); }
public static bool ExtensionSupported(string extension) { return(GlfwDelegates.glfwExtensionSupported(extension) == 1); }
public static string GetJoystickName(Joystick joy) { return(new string(GlfwDelegates.glfwGetJoystickName(joy))); }
public static GlfwErrorFun SetErrorCallback(GlfwErrorFun cbfun) { errorCallback = cbfun; return(GlfwDelegates.glfwSetErrorCallback(cbfun)); }
public static void SetClipboardString(GlfwWindowPtr window, string @string) { GlfwDelegates.glfwSetClipboardString(window, @string); }
public static void GetMonitorPos(GlfwMonitorPtr monitor, out int xpos, out int ypos) { GlfwDelegates.glfwGetMonitorPos(monitor, out xpos, out ypos); }
public static string GetClipboardString(GlfwWindowPtr window) { return(new string(GlfwDelegates.glfwGetClipboardString(window))); }
public static string GetMonitorName(GlfwMonitorPtr monitor) { return(new string(GlfwDelegates.glfwGetMonitorName(monitor))); }
public static void SetInputMode(GlfwWindowPtr window, InputMode mode, CursorMode value) { GlfwDelegates.glfwSetInputMode(window, mode, value); }