Enum RenderingDevice.DeviceType
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum RenderingDevice.DeviceType : long
Fields
Cpu = 4
Rendering device is provided by software emulation (such as Lavapipe or SwiftShader). This is the slowest kind of rendering device available; it's typically much slower than IntegratedGpu.
DiscreteGpu = 2
Rendering device is a dedicated GPU, which is typically (but not always) faster than integrated GPUs (IntegratedGpu).
IntegratedGpu = 1
Rendering device is an integrated GPU, which is typically (but not always) slower than dedicated GPUs (DiscreteGpu). On Android and iOS, the rendering device type is always considered to be IntegratedGpu.
Max = 5
Represents the size of the RenderingDevice.DeviceType enum.
Other = 0
Rendering device type does not match any of the other enum values or is unknown.
VirtualGpu = 3
Rendering device is an emulated GPU in a virtual environment. This is typically much slower than the host GPU, which means the expected performance level on a dedicated GPU will be roughly equivalent to IntegratedGpu. Virtual machine GPU passthrough (such as VFIO) will not report the device type as VirtualGpu. Instead, the host GPU's device type will be reported as if the GPU was not emulated.