Table of Contents

Class GraphicsAdapterFactory

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

Static factory for obtaining the available GraphicsAdapters in the system.

public static class GraphicsAdapterFactory
Inheritance
object
GraphicsAdapterFactory

Properties

Adapters

Gets a collection of the available GraphicsAdapters on the system.

public static ReadOnlySpan<GraphicsAdapter> Adapters { get; }

Property Value

ReadOnlySpan<GraphicsAdapter>

DefaultAdapter

Gets the default GraphicsAdapter.

public static GraphicsAdapter DefaultAdapter { get; }

Property Value

GraphicsAdapter

The default GraphicsAdapter. This property can be null.

Methods

Dispose()

Dispose all statically cached adapter information in the GraphicsAdapterFactory.

public static void Dispose()

Initialize()

Initializes the GraphicsAdapterFactory. On Desktop and WinRT, this is done statically.

public static void Initialize()

Reset()

Dispose()s and Initialize()s the GraphicsAdapterFactory to re-initialize all adapters informations.

public static void Reset()