상속: OpenTK.GameWindow
예제 #1
0
 public static void Main()
 {
     using (SimpleES20Window example = new SimpleES20Window())
     {
         Utilities.SetWindowTitle(example);
         example.Run(30.0, 0.0);
     }
 }
예제 #2
0
        public static void Main()
        {
            SimpleES20Window example;

            try
            {
                example = new SimpleES20Window(GraphicsContextFlags.Embedded);
            }
            catch
            {
                example = new SimpleES20Window(GraphicsContextFlags.Default);
            }

            if (example != null)
            {
                using (example)
                {
                    Utilities.SetWindowTitle(example);
                    example.Run(30.0, 0.0);
                }
            }
        }
예제 #3
0
 public static void Main()
 {
     using (SimpleES20Window example = new SimpleES20Window())
     {
         Utilities.SetWindowTitle(example);
         example.Run(30.0, 0.0);
     }
 }
예제 #4
0
        public static void Main()
        {
            SimpleES20Window example;
            try
            {
                example = new SimpleES20Window(GraphicsContextFlags.Default);

                //example = new SimpleES20Window(GraphicsContextFlags.Embedded);
            }
            catch
            {
                example = new SimpleES20Window(GraphicsContextFlags.Default);
            }

            if (example != null)
            {
                using (example)
                {
                    Utilities.SetWindowTitle(example);
                    example.Run(30.0, 0.0);
                }
            }
        }