This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
专业(SIM)
UnigineEditor
界面概述
资产工作流程
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Landscape Tool
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
Containers
Common Functionality
Controls-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
创建内容
内容优化
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

Unigine::SystemInfo Class

Header: #include <UnigineSystemInfo.h>

This class is used to obtain system information.

SystemInfo Class

Members


const char * getBinaryInfo ( ) #

Returns information on the Engine binary.

Return value

Information on the Engine binary.

const char * getRevisionInfo ( ) #

Returns information on the Engine version.

Return value

Information on the Engine version, date.

const char * getSystemInfo ( ) #

Returns operating system information.

Return value

Operating system information.

const char * getCPUInfo ( ) #

Console: cpu_info
Returns information on the CPU.

Return value

CPU information.

int getSystemMemory ( ) #

Returns the current system memory amount.

Return value

Current system memory amount, in Mbytes.

int getCPUFrequency ( ) #

Console: cpu_frequency
Returns the current CPU frequency.

Return value

Current CPU frequency, in MHz.

int getCPUCount ( ) #

Console: cpu_count
Returns the number of available CPUs.

Return value

Number of available CPUs.

int getCPUThreads ( ) #

Console: cpu_threads
Returns the number of available CPU threads.

Return value

Number of available CPU threads.

bool hasMMX ( ) #

Returns a value indicating if the system supports MMX (Multi-Media Extensions).

Return value

true if the system supports MMX extension; otherwise, false.

bool hasSSE ( ) #

Returns a value indicating if the system supports SSE (Streaming SIMD Extensions).

Return value

true if the system supports SSE extension; otherwise, false.

bool hasSSE2 ( ) #

Returns a value indicating if the system supports SSE2 (Streaming SIMD Extensions).

Return value

true if the system supports SSE2 extension; otherwise, false.

bool hasSSE3 ( ) #

Returns a value indicating if the system supports SSE3 (Streaming SIMD Extensions).

Return value

true if the system supports SSE3 extension; otherwise, false.

bool hasSSE4 ( ) #

Returns a value indicating if the system supports SSE4 (Streaming SIMD Extensions).

Return value

true if the system supports SSE4 extension; otherwise, false.

bool hasSSE5 ( ) #

Returns a value indicating if the system supports SSE5 (Streaming SIMD Extensions).

Return value

true if the system supports SSE5 extension; otherwise, false.

bool hasAVX ( ) #

Returns a value indicating if the system supports AVX (Advanced Vector Extensions).

Return value

true if the system supports AVX extension; otherwise, false.

bool hasAVX2 ( ) #

Returns a value indicating if the system supports AVX2 (Advanced Vector Extensions).

Return value

true if the system supports AVX2 extension; otherwise, false.

bool hasNeon ( ) #

Returns a value indicating if the system supports Neon (Advanced Vector Extensions).

Return value

true if the system supports Neon extension; otherwise, false.

bool hasHyperThreading ( ) #

Console: cpu_hyper_threading
Returns a value indicating if the system supports hyper-threading.

Return value

true if the system supports hyper-threading; otherwise, false.

int getGPUCount ( ) #

Returns the number of available GPUs.

Return value

Number of available GPUs.

const char * getGPUInfo ( int video_adapter_num = 0 ) #

Returns information on the video adapter with the specified number (video card, driver versions).

Arguments

  • int video_adapter_num - Number of the video adapter.

Return value

Information on the video adapter.

int getGPUMemory ( int video_adapter_num = 0 ) #

Returns the video memory size for the video adapter with the specified number.

Arguments

  • int video_adapter_num - Number of the video adapter.

Return value

Video memory size, in Mbytes.

int getGPUID ( int video_adapter_num = 0 ) #

Returns the GPU ID for the video adapter with the specified number in the list of detected ones.

Arguments

  • int video_adapter_num - Number of the graphics adapter (GPU) in the list of detected ones.

Return value

GPU ID for the video adapter with the specified number.

int getGPUName ( const char * str ) #

Returns the type of the GPU win the specified name.

Arguments

  • const char * str - GPU name (e.g. GeForce GTX 770).

Return value

GPU type identifier, one of the GPU_* values.

int getGPUName ( int video_adapter_num = 0 ) #

Returns the GPU type for the video adapter with the specified number in the list of detected ones.

Arguments

  • int video_adapter_num - Number of the graphics adapter (GPU) in the list of detected ones.

Return value

GPU type identifier, one of the GPU_* values.
Last update: 2022-03-10
Build: ()