Skip to main content

Class VelloGraphicsDeviceOptions

Namespace: VelloSharp.Maui.Rendering
Assembly: VelloSharp.Maui.Core.dll

Cross-platform rendering options that map onto platform-specific device descriptors.

public sealed record VelloGraphicsDeviceOptions : IEquatable<VelloGraphicsDeviceOptions>

Inheritance

objectVelloGraphicsDeviceOptions

Implements

IEquatable<VelloGraphicsDeviceOptions>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

Default

public static VelloGraphicsDeviceOptions Default { get; }

Property Value

VelloGraphicsDeviceOptions

DiagnosticsLabel

public string? DiagnosticsLabel { get; init; }

Property Value

string?

MsaaSampleCount

public int? MsaaSampleCount { get; init; }

Property Value

int?

PreferDiscreteAdapter

public bool PreferDiscreteAdapter { get; init; }

Property Value

bool