3 using SiliconStudio.Core;
5 namespace SiliconStudio.
Paradox.Graphics
12 private static readonly
object StaticLock =
new object();
14 private static bool isInitialized =
false;
52 staticCollector.Dispose();
54 defaultAdapter = null;
55 isInitialized =
false;
85 return defaultAdapter;
Factory for GraphicsAdapter.
A struct to dispose IDisposable, IReferencable instances and allocated unmanaged memory.
Use the default mode depending on the type of the field/property.
This class represents a graphics adapter.
static void Initialize()
Initializes the GraphicsAdapter. On Desktop and WinRT, this is done statically.
static void Dispose()
Dispose all statically cached value by this instance.
static void Reset()
Perform a Dispose and Initialize to re-initialize all adapters informations.