Vixen
02b45cc4
csharp
public enum GraphicsBackend

A graphics API an application would like to be drawn with.

Read the guide page for this →

Remarks

A vocabulary for a preference, not a capability. Naming a backend here says what to try; whether it can be opened on the machine in front of you is answered at boot, by the IGraphicsBackend the head installed. See Backends.

It lives beside GraphicsOptions rather than in Vixen.Graphics deliberately. Vixen.Graphics is the contract every backend implements, and a contract that enumerated its own implementations would have to be edited to add one — which is the coupling IGraphicsBackend exists to avoid. What this is, is a configuration value: something a .vxproj setting, an OnConfigure line and --vixen-backend all have to be able to spell.

Fields and properties (5)

  • Unknown

    Not a backend.

  • Vulkan

    Vulkan — the reference backend (ADR-001).

  • WebGpu

    WebGPU, through Dawn or wgpu-native.

  • OpenGl

    OpenGL — GL 4.5 core, or GLES 3.0/3.2.

  • Null

    The device that records a whole frame and draws none of it.

Used by (6)

  • AppArgumentsVixen.App.Hosting
  • AppConfigVixen.App.Hosting
  • GraphicsOptionsVixen.App.Hosting
  • AppBackendTestsVixen.App.Tests
  • GraphicsHostVixen.App
  • PlatformHostVixen.App