public enum GraphicsBackendA graphics API an application would like to be drawn with.
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)
UnknownNot a backend.
VulkanVulkan — the reference backend (ADR-001).
WebGpuWebGPU, through Dawn or wgpu-native.
OpenGlOpenGL — GL 4.5 core, or GLES 3.0/3.2.
NullThe 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