Add RenderDevice::AUTO for create_device()

This commit is contained in:
jayden committed 2025-03-19 21:57:32 +10:00
1 parent f968d0cb22
commit e1392f6f8e
3 files changed
+49 -3

No files matched your search

@@ -13,6 +13,7 @@
namespace Nova {
struct NOVA_API RenderDevice {
static constexpr u32 AUTO = static_cast<u32>(-1);
enum class Vendor { UNKNOWN = 0, INTEL = 0x8086, AMD = 0x1002, NVIDIA = 0x10de };
enum class Type { OTHER = 0, INTEGRATED = 1, DISCRETE = 2, VIRTUAL = 3, CPU = 4 };