/// <summary> /// Initializes the part of Duality that requires a valid rendering context. /// Should be called before performing any rendering related operations with Duality. /// Is called implicitly when using <see cref="OpenWindow"/>. /// </summary> public static void InitPostWindow() { DefaultContent.Init(); // Post-Window init is the last thing that happens before loading game // content and entering simulation. When done in a game context, notify // plugins that the game is about to start - otherwise, exec context changes // will trigger the same code later. if (execContext == ExecutionContext.Game) { pluginManager.InvokeGameStarting(); } }
/// <summary> /// Initializes the part of Duality that requires a valid rendering context. /// Should be called before performing any rendering related operations with Duality. /// Is called implicitly when using <see cref="OpenWindow"/>. /// </summary> public static void InitPostWindow() { AsyncManager.Init(); DefaultContent.Init(); }
/// <summary> /// Initializes the part of Duality that requires a valid rendering context. /// Should be called before performing any rendering related operations with Duality. /// Is called implicitly when using <see cref="OpenWindow"/>. /// </summary> public static void InitPostWindow() { DefaultContent.Init(); }