csharp
public interface IGraphicsBackendWhere an application's graphics device comes from.
Remarks
IPlatformFactory's counterpart, and there for the same reason: the two backends an app head can boot on its own — Vulkan where there is a surface to present to, Null where there is not — are both in Platform/.
⚠ Only device creation is behind this. Building the swapchain is not: a swapchain comes from CreateSwapChain, which every backend already implements, so routing it through here would have been an indirection with one possible answer. See SwapChainFor, which is where it happens instead.
Methods (1)
IGraphicsDevice? Create(GraphicsOptions options, IWindow? window, ILoggerFactory? logs, out string? reason)Builds the device an application will draw with.
Used by (5)
- AppBuilderVixen.App.Hosting
- AppBackendTestsVixen.App.Tests
- BackendVixen.App
- CountingBackendVixen.App.Tests
- GraphicsHostVixen.App