Class GpuInfo¶
Namespace: Apogee.Graphics
Assembly: Apogee.Graphics.dll
A GPU a backend found, and whether the engine can use it.
public sealed record GpuInfo : IEquatable<GpuInfo>
Inheritance¶
Implements¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
GpuInfo(string, GpuKind, string, string[])¶
A GPU a backend found, and whether the engine can use it.
public GpuInfo(string Name, GpuKind Kind, string Api, string[] Reasons)
Parameters¶
Name string
Kind GpuKind
Api string
Reasons string[]
Why it cannot be used (missing features, no queue that can present); empty when it can.
Properties¶
Api¶
public string Api { get; init; }
Property Value¶
Kind¶
public GpuKind Kind { get; init; }
Property Value¶
Name¶
public string Name { get; init; }
Property Value¶
Reasons¶
Why it cannot be used (missing features, no queue that can present); empty when it can.
public string[] Reasons { get; init; }
Property Value¶
string[]
Suitable¶
public bool Suitable { get; }
Property Value¶
Methods¶
ToString()¶
Returns a string that represents the current object.
public override string ToString()
Returns¶
A string that represents the current object.