Class GraphicsDeviceOptions¶
Namespace: Apogee.Graphics
Assembly: Apogee.Graphics.dll
public sealed class GraphicsDeviceOptions
Inheritance¶
object ← GraphicsDeviceOptions
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Properties¶
ApplicationName¶
public string ApplicationName { get; set; }
Property Value¶
Backend¶
The API to use. Null: the platform's (APOGEE_GRAPHICS=vulkan|metal chooses for development.
public GraphicsBackend? Backend { get; set; }
Property Value¶
PreferredDeviceName¶
Picks the device whose name contains this (case-insensitive) when it is usable, before the usual preference for discrete GPUs. APOGEE_GPU sets it too.
public string? PreferredDeviceName { get; set; }
Property Value¶
Window¶
A window the device has to be able to present to; create it with
public Window? Window { get; set; }