Package mindustry.graphics
Class GpuDetect
java.lang.Object
mindustry.graphics.GpuDetect
GPU detection for Windows only. All fields will be false or empty on other platforms, even if #init() is called.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
rawGpuString
-
gpus
-
hasIntel
public static boolean hasIntel -
hasNvidia
public static boolean hasNvidia -
hasAMD
public static boolean hasAMD
-
-
Constructor Details
-
GpuDetect
public GpuDetect()
-
-
Method Details
-
init
public static void init()
-