示例#1
0
        public static void StartDemo()
        {
            NeHeLesson5 <T> app = new NeHeLesson5 <T>(PixelFormats.pix_format_rgba32, ERenderOrigin.OriginBottomLeft);

            app.Caption = "AGG Example. NeHe Lesson 5 (using a GL like interface)";

#if USE_OPENGL
            if (app.init(640, 480, (uint)WindowFlags.UseOpenGL))
#else
            if (app.init(640, 480, (uint)(WindowFlags.None)))
#endif
            {
                app.run();
            }
        }
示例#2
0
 public static void Main(string[] args)
 {
     NeHeLesson5 <DoubleComponent> .StartDemo();
 }