Esempio n. 1
0
 public void Init(GLFW.Window window)
 {
     this.window   = window;
     this.callback = new GLFW.KeyCallback(KeyCallback);
     GLFW.Glfw.SetKeyCallback(window, callback);
     current = this;
 }
Esempio n. 2
0
 public Window(int Width, int Height, string Title)
 {
     title  = Title;
     width  = Width;
     height = Height;
     WindowHint();
     WindowInstance = Glfw.CreateWindow(Width, Height, Title, Monitor.None, GLFW.Window.None);
     if (!WindowCreationCheck())
     {
         return;
     }
 }
Esempio n. 3
0
 public void Init(GLFW.Window window)
 {
     this.window = window;
     current     = this;
 }