Device type

This commit is contained in:
Greg Wells
2025-05-27 13:07:41 -04:00
parent ad54ef39e3
commit 9099148be9
3 changed files with 22 additions and 2 deletions

View File

@@ -4,12 +4,17 @@
struct gnPlatformPhysicalDevice_t;
struct gnWindowSurface_t;
typedef enum gnDeviceType_e {
GN_DEDICATED_DEVICE, GN_INTEGRATED_DEVICE, GN_EXTERNAL_DEVICE
} gnDeviceType;
typedef struct gnPhysicalDeviceProperties_t {
gnString name;
gnDeviceType deviceType;
} gnPhysicalDeviceProperties;
typedef struct gnPhysicalDeviceFeatures_t {
// no freatures
} gnPhysicalDeviceFeatures;
typedef enum gnQueueTypeFlags_e {