Class PhysicalDeviceInfo¶
Namespace: Apogee.Graphics.Vulkan
Assembly: Apogee.Graphics.dll
A GPU the loader found, and whether the engine can use it.
public sealed record PhysicalDeviceInfo : IEquatable<PhysicalDeviceInfo>
Inheritance¶
Implements¶
IEquatable<PhysicalDeviceInfo>
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
PhysicalDeviceInfo(VkPhysicalDevice, string, VkPhysicalDeviceType, uint, uint, string[])¶
A GPU the loader found, and whether the engine can use it.
public PhysicalDeviceInfo(VkPhysicalDevice Handle, string Name, VkPhysicalDeviceType Type, uint ApiVersion, uint QueueFamily, string[] Reasons)
Parameters¶
Handle VkPhysicalDevice
Name string
Type VkPhysicalDeviceType
ApiVersion uint
QueueFamily uint
Reasons string[]
Why it cannot be used (missing features, no queue that can present); empty when it can.
Properties¶
ApiVersion¶
public uint ApiVersion { get; init; }
Property Value¶
Handle¶
public VkPhysicalDevice Handle { get; init; }
Property Value¶
VkPhysicalDevice
Name¶
public string Name { get; init; }
Property Value¶
QueueFamily¶
public uint QueueFamily { 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¶
Type¶
public VkPhysicalDeviceType Type { get; init; }
Property Value¶
VkPhysicalDeviceType
Methods¶
ToString()¶
Returns a string that represents the current object.
public override string ToString()
Returns¶
A string that represents the current object.