Enum
VkPhysicalDeviceType
Supported physical device types
The physical device types which may be returned in
VkPhysicalDeviceProperties::deviceType are:
typedef enum VkPhysicalDeviceType {
VK_PHYSICAL_DEVICE_TYPE_OTHER = 0,
VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU = 1,
VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU = 2,
VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU = 3,
VK_PHYSICAL_DEVICE_TYPE_CPU = 4,
} VkPhysicalDeviceType;
pub struct PhysicalDeviceType(u32);
impl PhysicalDeviceType {
pub const OTHER: Self = 0;
pub const INTEGRATED_GPU: Self = 1;
pub const DISCRETE_GPU: Self = 2;
pub const VIRTUAL_GPU: Self = 3;
pub const CPU: Self = 4;
}
VK_PHYSICAL_DEVICE_TYPE_OTHER- the device does not match any other available types.VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU- the device is typically one embedded in or tightly coupled with the host.VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU- the device is typically a separate processor connected to the host via an interlink.VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU- the device is typically a virtual node in a virtualization environment.VK_PHYSICAL_DEVICE_TYPE_CPU- the device is typically running on the same processors as the host.
The physical device type is advertised for informational purposes only, and does not directly affect the operation of the system. However, the device type may correlate with other advertised properties or capabilities of the system, such as how many memory heaps there are.
Parent
VK_VERSION_1_0Type
Enum