public static void SetWindowSize(GlfwWindow window, int width, int height) { GlfwCore.glfwSetWindowSize(window, width, height); }
public static void SetGammaRamp(GlfwMonitor monitor, ref GlfwGammaRamp ramp) { ramp.Length = (uint)ramp.Red.Length; GlfwCore.glfwSetGammaRamp(monitor, ref ramp); }
public static void SetWindowPos(GlfwWindow window, int xpos, int ypos) { GlfwCore.glfwSetWindowPos(window, xpos, ypos); }
public static void HideWindow(GlfwWindow window) { GlfwCore.glfwHideWindow(window); }
public static void FocusWindow(GlfwWindow window) { GlfwCore.glfwFocusWindow(window); }
public static void IconifyWindow(GlfwWindow window) { GlfwCore.glfwIconifyWindow(window); }
public static void MaximizeWindow(GlfwWindow window) { GlfwCore.glfwMaximizeWindow(window); }
public static void DestroyWindow(GlfwWindow window) { GlfwCore.glfwDestroyWindow(window); }
public static bool WindowShouldClose(GlfwWindow window) { return(GlfwCore.glfwWindowShouldClose(window) == 1); }
public static void WindowHint(WindowAttrib target, bool hint) { GlfwCore.glfwWindowHint((int)target, hint ? 1 : 0); }
public static GlfwWindow CreateWindow(int width, int height, string title, GlfwMonitor monitor, GlfwWindow share) { return(GlfwCore.glfwCreateWindow(width, height, title, monitor, share)); }
public static void WindowHint(WindowAttrib target, int hint) { GlfwCore.glfwWindowHint((int)target, hint); }
#pragma warning disable 0414 public static bool Init() { return(GlfwCore.glfwInit() == 1); }
public static void DefaultWindowHints() { GlfwCore.glfwDefaultWindowHints(); }
public static void GetFramebufferSize(GlfwWindow window, out int width, out int height) { GlfwCore.glfwGetFramebufferSize(window, out width, out height); }
public static void SetWindowShouldClose(GlfwWindow window, bool value) { GlfwCore.glfwSetWindowShouldClose(window, value ? 1 : 0); }
public static void GetWindowFrameSize(GlfwWindow window, out int left, out int top, out int right, out int bottom) { GlfwCore.glfwGetWindowFrameSize(window, out left, out top, out right, out bottom); }
public static void SetWindowTitle(GlfwWindow window, string title) { GlfwCore.glfwSetWindowTitle(window, title); }
public static void RestoreWindow(GlfwWindow window) { GlfwCore.glfwRestoreWindow(window); }
public static void SetWindowIcon(GlfwWindow window, int count, GlfwImage[] images) { GlfwCore.glfwSetWindowIcon(window, count, images); }
public static void ShowWindow(GlfwWindow window) { GlfwCore.glfwShowWindow(window); }
public static void GetWindowPos(GlfwWindow window, out int xpos, out int ypos) { GlfwCore.glfwGetWindowPos(window, out xpos, out ypos); }
public static void GetVersion(out int major, out int minor, out int rev) { GlfwCore.glfwGetVersion(out major, out minor, out rev); }
public static void Terminate() { GlfwCore.glfwTerminate(); }
public static GlfwMonitor GetWindowMonitor(GlfwWindow window) { return(GlfwCore.glfwGetWindowMonitor(window)); }
public static void SetGamma(GlfwMonitor monitor, float gamma) { GlfwCore.glfwSetGamma(monitor, gamma); }