Initializes the GLFW2 resolver and the window to get started. To execute the app call Run.
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Platforms App
Namespace: DeltaEngine.Platforms
Assemblies: DeltaEngine.WindowsES11 (in DeltaEngine.WindowsES11.dll) Version: 1.1.1.0 (1.1.1)
DeltaEngine.WindowsES20 (in DeltaEngine.WindowsES20.dll) Version: 1.1.1.0 (1.1.1)
DeltaEngine.WindowsGLFW2 (in DeltaEngine.WindowsGLFW2.dll) Version: 1.1.1.0 (1.1.1)
DeltaEngine.WindowsGLFW3 (in DeltaEngine.WindowsGLFW3.dll) Version: 1.1.1.0 (1.1.1)
DeltaEngine.WindowsOpenGL (in DeltaEngine.WindowsOpenGL.dll) Version: 1.1.1.0 (1.1.1)
DeltaEngine.WindowsOpenTK11 (in DeltaEngine.WindowsOpenTK11.dll) Version: 1.1.1.0 (1.1.1)
DeltaEngine.WindowsOpenTK20 (in DeltaEngine.WindowsOpenTK20.dll) Version: 1.1.1.0 (1.1.1)
DeltaEngine.WindowsSharpDX (in DeltaEngine.WindowsSharpDX.dll) Version: 1.1.1.0 (1.1.1)
DeltaEngine.WindowsSlimDX (in DeltaEngine.WindowsSlimDX.dll) Version: 1.1.1.0 (1.1.1)
DeltaEngine.WindowsXna (in DeltaEngine.WindowsXna.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The App type exposes the following members.
Constructors
Name | Description | |
---|---|---|
App | Initializes a new instance of the App class | |
App(Window) | Initializes a new instance of the App class |
Methods
Name | Description | |
---|---|---|
Resolve T | ||
Run |
Remarks
Examples
[Test] public void CheckDefaultContentLoader() { CreateResolver(); Assert.AreEqual(typeof(DeveloperOnlineContentLoader), ContentLoader.Type); }
[Test] public void CheckExplicitlySetContentLoader() { ContentLoader.Use<DiskContentLoader>(); CreateResolver(); Assert.AreEqual(typeof(DiskContentLoader), ContentLoader.Type); ContentLoader.DisposeIfInitialized(); }
See Also