DeviceType

    RenderingDevice.swift:22
    enum DeviceType

    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 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.

    • case max

      Represents the size of the DeviceType enum.

    Other members in extension

    View members

    Hide members

    This section is hidden by default because it contains too many (130) members.

    Types

    Type members

    Instance members

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features