Skip to content

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

string

Backend

The API to use. Null: the platform's (); APOGEE_GRAPHICS=vulkan|metal chooses for development.

public GraphicsBackend? Backend { get; set; }

Property Value

GraphicsBackend?

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

string?

Window

A window the device has to be able to present to; create it with . Null for a headless device.

public Window? Window { get; set; }

Property Value

Window?