public void Init(GLFW.Window window) { this.window = window; this.callback = new GLFW.KeyCallback(KeyCallback); GLFW.Glfw.SetKeyCallback(window, callback); current = this; }
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; } }
public void Init(GLFW.Window window) { this.window = window; current = this; }