Inheritance: 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);
                }
            }
        }