aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/DeviceInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.GAL/DeviceInfo.cs')
-rw-r--r--Ryujinx.Graphics.GAL/DeviceInfo.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.GAL/DeviceInfo.cs b/Ryujinx.Graphics.GAL/DeviceInfo.cs
new file mode 100644
index 00000000..c525eb60
--- /dev/null
+++ b/Ryujinx.Graphics.GAL/DeviceInfo.cs
@@ -0,0 +1,18 @@
+namespace Ryujinx.Graphics.GAL
+{
+ public struct DeviceInfo
+ {
+ public readonly string Id;
+ public readonly string Vendor;
+ public readonly string Name;
+ public readonly bool IsDiscrete;
+
+ public DeviceInfo(string id, string vendor, string name, bool isDiscrete)
+ {
+ Id = id;
+ Vendor = vendor;
+ Name = name;
+ IsDiscrete = isDiscrete;
+ }
+ }
+} \ No newline at end of file