GraphicsAdapterFactory Class
Namespace: Stride.GraphicsAssembly: Stride.Graphics.dll
Factory for GraphicsAdapter.
System.Object →
GraphicsAdapterFactory
Derived from GraphicsAdapterFactory:
public static class GraphicsAdapterFactory
Name | Description | |
---|---|---|
Properties | ||
Adapters | Collection of available adapters on the system. |
|
Default | Gets the default adapter. This property can be |
|
Methods | ||
Dispose() | Dispose all statically cached value by this instance. |
|
Initialize() | Initializes the GraphicsAdapter. On Desktop and WinRT, this is done statically. |
|
Reset() | Perform a Dispose() and Initialize() to re-initialize all adapters informations. |
Properties
Adapters
Collection of available adapters on the system.
public static GraphicsAdapter[] Adapters { get; }
Property Value
Type | Description |
---|---|
GraphicsAdapter[] |
Default
Gets the default adapter. This property can be null
.
public static GraphicsAdapter Default { get; }
Property Value
Type | Description |
---|---|
GraphicsAdapter |
Methods
Dispose()
Dispose all statically cached value by this instance.
public static void Dispose()
Initialize()
Initializes the GraphicsAdapter. On Desktop and WinRT, this is done statically.
public static void Initialize()
Reset()
Perform a Dispose() and Initialize() to re-initialize all adapters informations.
public static void Reset()