Exemplo n.º 1
0
    void ShowSystemInfo()
    {
        string systemInfo = ""
//+ " deviceModel(设备的模型或模式): " + SystemInfo.deviceModel + " \r\n"
//+ " deviceType(设备类型): " + SystemInfo.deviceType + " \r\n"
//+ " deviceUniqueIdentifier(设备的唯一标识符): " + SystemInfo.deviceUniqueIdentifier + " \r\n"
                            + " graphicsDeviceName(显卡的名称): " + SystemInfo.graphicsDeviceName + "  ID: " + SystemInfo.graphicsDeviceID + " \r\n"
//+ " graphicsDeviceType(显卡的类型): " + SystemInfo.graphicsDeviceType + " \r\n"
//+ " graphicsDeviceVendor(显卡的供应商): " + SystemInfo.graphicsDeviceVendor + "  ID: " + SystemInfo.graphicsDeviceVendorID + " \r\n"
//+ " graphicsDeviceVersion(显卡的类型和版本): " + SystemInfo.graphicsDeviceVersion + " \r\n"
//+ " graphicsMemorySize(显存大小): " + SystemInfo.graphicsMemorySize + " \r\n"
//+ " graphicsMultiThreaded(是否支持多线程渲染): " + SystemInfo.graphicsMultiThreaded + " \r\n"
//+ " graphicsShaderLevel(显卡着色器的级别): " + SystemInfo.graphicsShaderLevel + " \r\n"
//+ " maxTextureSize(支持的最大纹理大小): " + SystemInfo.maxTextureSize + " \r\n"
//+ " npotSupport(GPU支持的NPOT纹理): " + SystemInfo.npotSupport + " \r\n"
//+ " operatingSystem(操作系统的版本名称): " + SystemInfo.operatingSystem + " \r\n"
//+ " operatingSystemFamily(操作系统系列): " + SystemInfo.operatingSystemFamily + " \r\n"
//+ " processorCount(当前处理器的数量): " + SystemInfo.processorCount + " \r\n"
//+ " processorFrequency(处理器的频率): " + SystemInfo.processorFrequency + " \r\n"
                            + " processorType(处理器的名称): " + SystemInfo.processorType + " \r\n"
//+ " supportedRenderTargetCount(支持渲染多少目标纹理): " + SystemInfo.supportedRenderTargetCount + " \r\n"
                            + " systemMemorySize(系统内存大小): " + SystemInfo.systemMemorySize + " \r\n"
                            + " displays(显示器数): " + Display.displays.Length + " \r\n";

        PrintData.Add(systemInfo);
        UpdateResolutionInput();
        Debug_T.Log(systemInfo);
        ShowScreenInfo();
    }
Exemplo n.º 2
0
    void ShowScreenInfo()
    {
        string Info = ""
                      + " renderingWidth&Height(窗口宽高): " + Display.main.renderingWidth + " x " + Display.main.renderingHeight + " \r\n"
                      + " systemWidth&Height(屏幕实际宽高): " + Display.main.systemWidth + " x " + Display.main.systemHeight + " \r\n"
                      + " currentResolution(屏幕绘制分辨率): " + Screen.currentResolution + " \r\n";

        PrintData.Add(Info);
        UpdateResolutionInput();
        Debug_T.Log(Info);
    }