static void Main(string[] args) { using (var app = new InstancingAndCullingApp()) { app.Initialize(); app.Run(); } }
static void Main(string[] args) { using (D3DApp app = new InstancingAndCullingApp(Process.GetCurrentProcess().Handle)) { app.Initialize(); app.Run(); } }