Add RenderDevice::AUTO for create_device()

This commit is contained in:
2025-03-19 21:46:05 +10:00
parent f968d0cb22
commit e1392f6f8e
3 changed files with 49 additions and 3 deletions

View File

@@ -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 };