Esempio n. 1
0
 static void Main(string[] args)
 {
     args = args.Where(i => !i.StartsWith("-psn")).ToArray();             // Skip Xamarin debugger specific arguments.
     Lime.Application.Initialize();
     NSApplication.SharedApplication.DidFinishLaunching += (sender, e) => TangerineApp.Initialize(args);
     Lime.Application.Run();
 }
Esempio n. 2
0
        public static void Main(string[] args)
        {
            var thisExe = System.Reflection.Assembly.GetExecutingAssembly();

            string [] resources = thisExe.GetManifestResourceNames();
            Lime.Application.Initialize(new ApplicationOptions {
                RenderingBackend = RenderingBackend.Vulkan
            });
            TangerineApp.Initialize(args);
            Lime.Application.Run();
        }
Esempio n. 3
0
        public static void Main(string[] args)
        {
            var thisExe = System.Reflection.Assembly.GetExecutingAssembly();

            string [] resources = thisExe.GetManifestResourceNames();
            var       supportedRenderingBackends = Lime.Application.EnumerateSupportedRenderingBackends().ToList();
            var       renderingBackend           = RenderingBackend.OpenGL;

            if (supportedRenderingBackends.Contains(RenderingBackend.Vulkan))
            {
                renderingBackend = RenderingBackend.Vulkan;
            }
            Application.Initialize(new ApplicationOptions {
                RenderingBackend = renderingBackend
            });
            TangerineApp.Initialize(args);
            Lime.Application.Run();
        }
Esempio n. 4
0
 public static void Initialize(string[] args)
 {
     Instance = new TangerineApp(args);
 }
Esempio n. 5
0
 public static void Initialize()
 {
     Instance = new TangerineApp();
 }
Esempio n. 6
0
 static void Main(string[] args)
 {
     Lime.Application.Initialize();
     NSApplication.SharedApplication.DidFinishLaunching += (sender, e) => TangerineApp.Initialize();
     Lime.Application.Run();
 }
Esempio n. 7
0
 public override void DidFinishLaunching(NSNotification notification)
 {
     TangerineApp.Initialize();
 }