public static bool ExtensionSupported(string extension) { return(GlfwDelegates.glfwExtensionSupported(extension) == 1); }
public static void SetMouseButtonCallback(GlfwMouseButtonFun cbfun) { mouseButtonFun = cbfun; GlfwDelegates.glfwSetMouseButtonCallback(cbfun); }
public static int GetJoystickParam(Joystick joy, int param) { return(GlfwDelegates.glfwGetJoystickParam((int)joy, param)); }
public static void SetMouseWheel(int pos) { GlfwDelegates.glfwSetMouseWheel(pos); }
public static void SetCharCallback(GlfwCharFun cbfun) { charFun = cbfun; GlfwDelegates.glfwSetCharCallback(cbfun); }
public static bool GetMouseButton(MouseButton button) { return(GlfwDelegates.glfwGetMouseButton((int)button) == 1); }
public static void SetMousePos(int xpos, int ypos) { GlfwDelegates.glfwSetMousePos(xpos, ypos); }
public static void GetMonitorPhysicalSize(GlfwMonitorPtr monitor, out int width, out int height) { GlfwDelegates.glfwGetMonitorPhysicalSize(monitor, out width, out height); }
public static string GetMonitorName(GlfwMonitorPtr monitor) { return(new string(GlfwDelegates.glfwGetMonitorName(monitor))); }
public static GlfwMonitorPtr GetPrimaryMonitor() { return(GlfwDelegates.glfwGetPrimaryMonitor()); }
public static void GetMonitorPos(GlfwMonitorPtr monitor, out int xpos, out int ypos) { GlfwDelegates.glfwGetMonitorPos(monitor, out xpos, out ypos); }
public static void SetErrorCallback(GlfwErrorFun cbfun) { GlfwDelegates.glfwSetErrorCallback(cbfun); }
public static IntPtr GetProcAddress(string procname) { return(GlfwDelegates.glfwGetProcAddress(procname)); }
public static string GetVersionString() { return(new string(GlfwDelegates.glfwGetVersionString())); }
public static void Terminate() { GlfwDelegates.glfwTerminate(); }
public static void SetMonitorCallback(GlfwMonitorFun cbfun) { GlfwDelegates.glfwSetMonitorCallback(cbfun); }
public static bool GetKey(char key) { return(GlfwDelegates.glfwGetKey((int)key) == 1); }
public static void SetWindowCloseCallback(GlfwWindowCloseFun cbfun) { windowCloseFun = cbfun; GlfwDelegates.glfwSetWindowCloseCallback(cbfun); }
public static void GetMousePos(out int xpos, out int ypos) { GlfwDelegates.glfwGetMousePos(out xpos, out ypos); }
public static void SetWindowRefreshCallback(GlfwWindowRefreshFun cbfun) { windowRefreshFun = cbfun; GlfwDelegates.glfwSetWindowRefreshCallback(cbfun); }
public static int GetMouseWheel() { return(GlfwDelegates.glfwGetMouseWheel()); }
public static int GetVideoModes(GlfwVidMode[] list, int maxcount) { return(GlfwDelegates.glfwGetVideoModes(list, maxcount)); }
public static void SetKeyCallback(GlfwKeyFun cbfun) { keyFun = cbfun; GlfwDelegates.glfwSetKeyCallback(cbfun); }
public static void GetDesktopMode(out GlfwVidMode mode) { GlfwDelegates.glfwGetDesktopMode(out mode); }
public static void GetVersion(out int major, out int minor, out int rev) { GlfwDelegates.glfwGetVersion(out major, out minor, out rev); }
public static void PollEvents() { GlfwDelegates.glfwPollEvents(); }
public static void SetMouseWheelCallback(GlfwMouseWheelFun cbfun) { mouseWheelFun = cbfun; GlfwDelegates.glfwSetMouseWheelCallback(cbfun); }
public static void WaitEvents() { GlfwDelegates.glfwWaitEvents(); }
public static int GetJoystickPos(Joystick joy, float[] pos, int numaxes) { return(GlfwDelegates.glfwGetJoystickPos((int)joy, pos, numaxes)); }
public static void SwapInterval(bool interval) { GlfwDelegates.glfwSwapInterval(interval ? 1 : 0); }