Exemplo 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;
 }
Exemplo 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;
     }
 }
Exemplo n.º 3
0
 public void Init(GLFW.Window window)
 {
     this.window = window;
     current     = this;
 }