API Reference · Renderers

BackendAvailability

Namespace: Ava3D

public enum BackendAvailability

Whether a RenderBackendKind can be selected, and if not, how close it is.

Values

ValueDescription
Active

Drawing the current frame.

Available

Can be switched to immediately, without restarting anything.

RequiresRestart

Possible on this device, but not in this process.

Avalonia fixes its graphics API when the application is built, before any control exists, so a control cannot move a running process from Metal to OpenGL or back. A host that wants to offer the choice has to relaunch itself with a different rendering mode — which a desktop application can do and a sandboxed mobile or browser application cannot.

Unavailable

Not possible on this platform at all. BackendOption.Reason says why.

See also