// Copyright (C) 2026 SharpEmu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later using SharpEmu.Libs.Gpu.Vulkan; namespace SharpEmu.Libs.Gpu; /// /// Process-wide access point for the guest-GPU backend, mirroring HostPlatform for the /// host seam: static HLE export classes resolve the renderer through . /// Vulkan is the only backend today; Metal/DX12 slot in here. /// internal static class GuestGpu { private static readonly Lazy Instance = new(static () => new VulkanGuestGpuBackend()); public static IGuestGpuBackend Current => Instance.Value; }