public HolofunkRenderer(HolofunkGame game) { BackgroundColor = Color.Black; ForegroundColor = Color.Red; /* PreferredBackBufferFormat = PixelFormat.R8G8B8A8.UNorm; PreferredBackBufferWidth = (int)(game.ViewportSize.X); PreferredBackBufferHeight = (int)(game.ViewportSize.Y); */ }
private static void GameThread() { using (_holofunkGame = new HolofunkGame(_primaryForm)) { _gameStarted = true; _holofunkGame.Run(); } }