protected override void OnStartup(System.Windows.StartupEventArgs e) { SpectreEngine.xrCoreInit(); SpectreEngine.xrEngineInit(); SpectreEngine.xrRenderInit(); base.OnStartup(e); }
public MainWindow() { InitializeComponent(); // Init Spectre System and UI Parser SpectreEngine.xrCoreInit("Post Process Editor"); UIParser = new XRay.xrManagedUILib.UIXMLParser(); XRay.Log.Info("LayOut Editor inited!"); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); SpectreEngine.xrCoreInit("Post Process Editor"); using (var engine = new EditorEngine()) { var mainDialog = new MainDialog(); mainDialog.Initialize(engine); Application.Run(mainDialog); } //Core.Destroy(); }
protected override void OnStartup(System.Windows.StartupEventArgs e) { base.OnStartup(e); SpectreEngine.xrCoreInit("Layout Editor", "fsgame.ltx"); }