zoukankan      html  css  js  c++  java
  • 使用SYSTEMINFO类获取UNITY3D运行设备的各类信息

               //设备的模型
     36 
     37         GetMessage("设备模型",SystemInfo.deviceModel);
     38 
     39         //设备的名称
     40 
     41         GetMessage("设备名称",SystemInfo.deviceName);
     42 
     43         //设备的类型
     44 
     45         GetMessage("设备类型(PC电脑,掌上型)",SystemInfo.deviceType.ToString());
     46 
     47         //系统内存大小
     48 
     49         GetMessage("系统内存大小MB",SystemInfo.systemMemorySize.ToString());
     50 
     51         //操作系统
     52 
     53         GetMessage("操作系统",SystemInfo.operatingSystem);
     54 
     55         //设备的唯一标识符
     56 
     57         GetMessage("设备唯一标识符",SystemInfo.deviceUniqueIdentifier);
     58 
     59         //显卡设备标识ID
     60 
     61         GetMessage("显卡ID",SystemInfo.graphicsDeviceID.ToString());
     62 
     63         //显卡名称
     64 
     65         GetMessage("显卡名称", SystemInfo.graphicsDeviceName);
     66 
     67         //显卡类型
     68 
     69        SystemInfo.graphicsDeviceType.ToString();
     70 
     71         //显卡供应商
     72 
     73        SystemInfo.graphicsDeviceVendor;
     74  
     75         //显卡供应唯一ID
     76 
     77        SystemInfo.graphicsDeviceVendorID.ToString();
     78 
     79         //显卡版本号
     80 
     81        SystemInfo.graphicsDeviceVersion;
     82 
     83         //显卡内存大小
     84 
     85       SystemInfo.graphicsMemorySize.ToString();
     86 
     87        //显卡是否支持多线程渲染
     88 
     89       SystemInfo.graphicsMultiThreaded.ToString();
     90 
     91       //支持的渲染目标数量
     92 
     93       SystemInfo.supportedRenderTargetCount.ToString();
     94 
     95  
  • 相关阅读:
    一般操作
    node express mongodb 数据录入
    express新版本后app.use(express.bodyParser())无效
    npm adduser报错问题
    01demo-mongodb
    Win32汇编--02必须了解的基础知识
    第17章 本书最后将学习什么呢(需要回头学习)
    第十六章 直接定址表(需要回头学)
    指令系统总结
    第十五章 外中断
  • 原文地址:https://www.cnblogs.com/weiqiangwaideshijie/p/7810598.html
Copyright © 2011-2022 走看看