Table of Contents

Class VideoBackendRegistry

Namespace
Stride.Video
Assembly
Stride.Video.dll

Process-wide registry of VideoBackendFactory implementations. Each backend (typically via a module initializer) registers its factory here; VideoSystem then selects one at initialization time.

public static class VideoBackendRegistry
Inheritance
object
VideoBackendRegistry

Properties

Factories

public static IReadOnlyList<VideoBackendFactory> Factories { get; }

Property Value

IReadOnlyList<VideoBackendFactory>

PreferredBackendName

Override default selection. When set, the first registered factory whose Name matches (case-insensitive) and which reports IsSupported(GraphicsDevice) is used. Tests can set this to force a specific deterministic backend (e.g. "FFmpeg").

public static string PreferredBackendName { get; set; }

Property Value

string

Methods

Register(VideoBackendFactory)

public static void Register(VideoBackendFactory factory)

Parameters

factory VideoBackendFactory