public static extern WindowPtr glfwCreateWindow(
     int width, int height,
     string title,
     MonitorPtr monitor, WindowPtr window
     );
 public static extern NativeGammaRamp *glfwGetGammaRamp(MonitorPtr monitor);
 public static extern void glfwSetGammaRamp(MonitorPtr monitor, NativeGammaRamp *ramp);
 public static extern VideoMode *glfwGetVideoMode(MonitorPtr monitor);
 public static extern void glfwSetGamma(MonitorPtr monitor, float gamma);
 public static extern VideoMode *glfwGetVideoModes(MonitorPtr monitor, out int count);
 public static extern byte *glfwGetMonitorName(MonitorPtr monitor);
 public static extern void glfwGetMonitorPhysicalSize(MonitorPtr monitor, out int width, out int height);
 public static extern void glfwGetMonitorPos(MonitorPtr monitor, out int x, out int y);
示例#10
0
 public static extern void glfwSetWindowMonitor(
     WindowPtr window, MonitorPtr monitor,
     int x, int y,
     int width, int height,
     int refreshRate
     );