Vixen
02b45cc4
csharp
public interface IGraphicsBackend

Where an application's graphics device comes from.

Read the guide page for this →

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)

Used by (5)

  • AppBuilderVixen.App.Hosting
  • AppBackendTestsVixen.App.Tests
  • BackendVixen.App
  • CountingBackendVixen.App.Tests
  • GraphicsHostVixen.App