Enumeration Casemigueldeicaza.swiftgodot 0.45.0SwiftGodot
cpu
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.
RenderingDevice.swift:32case cpu
Other cases
case other
Rendering device type does not match any of the other enum values or is unknown.
case integratedGpu
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.
case discreteGpu
Rendering device is a dedicated GPU, which is typically (but not always) faster than integrated GPUs (.integratedGpu).
case virtualGpu
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.
case max
Represents the size of the
DeviceType
enum.