public static void Main(string[] args) { WyvernWindow.Init(); if (!VkGlfw.VulkanSupported) { throw new PlatformNotSupportedException("Vulkan unsupported on this machine!"); } using (var window = new AppWindow()) window.Start(); WyvernWindow.Terminate(); }
public MenuScene(WyvernWindow window) : base("Menu", window) { Content.Add <Texture2D>("TriangleTexture", "test.png"); }
public GameScene(WyvernWindow window) : base(nameof(GameScene), window) { Content.Add <Texture2D>("TestBullets", "bullets.png"); Content.Add <Texture2D>("TestEnemy", "enemy.png"); }