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(); }
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(); }
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(); }
public static void Initialize(string[] args) { Instance = new TangerineApp(args); }
public static void Initialize() { Instance = new TangerineApp(); }
static void Main(string[] args) { Lime.Application.Initialize(); NSApplication.SharedApplication.DidFinishLaunching += (sender, e) => TangerineApp.Initialize(); Lime.Application.Run(); }
public override void DidFinishLaunching(NSNotification notification) { TangerineApp.Initialize(); }