예제 #1
0
 public Window(int width, int height, GraphicsMode mode, string title = "", GameWindowFlags options = GameWindowFlags.Default)
 {
     Width        = width;
     Height       = height;
     NativeWindow = new GameWindow(width, height, mode, title, options);
     _context     = new VisualContext(this);
     Initialize();
 }
예제 #2
0
 public Window(int width, int height)
 {
     Width        = width;
     Height       = height;
     NativeWindow = new GameWindow(width, height);
     _context     = new VisualContext(this);
     Initialize();
 }