using AcDream.App.Composition; using AcDream.App.Rendering; using AcDream.App.Rendering.Gpu.Vk; namespace AcDream.App.Tests.Composition; /// /// The graphics handle composition tests hand to a phase. /// /// Campaign V slice V11 deleted the raw-GL arm — GameWindowGraphics /// no longer has a Backend or Gl member to select between, so this /// is now a single Vulkan-shaped token: a real /// (composition phases require one, and it needs no live surface — just a /// sample count), no live because tests never /// dereference it. /// internal sealed class TestGameWindowGraphics : GameWindowGraphics { public static TestGameWindowGraphics Instance { get; } = new(); private TestGameWindowGraphics() { } public override IWorldPassScope? WorldPassScope { get; } = new VulkanWorldPassScope(sampleCount: 1); public override void Dispose() { } }