23 #if SILICONSTUDIO_PLATFORM_WINDOWS_RUNTIME
27 using Windows.UI.Xaml.Controls;
29 namespace SiliconStudio.
Paradox.Games
34 public partial class GameContext
42 public GameContext(SwapChainPanel control,
int requestedWidth = 0,
int requestedHeight = 0)
46 throw new ArgumentNullException(
"control");
50 RequestedWidth = requestedWidth;
51 RequestedHeight = requestedHeight;
52 ContextType = AppContextType.WindowsRuntime;
65 public static implicit
operator GameContext(SwapChainPanel control)
67 return new GameContext(control);