This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
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
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

Unigine.SystemInfo Class

This class is used to obtain system information.

SystemInfo Class

Members


string GetBinaryInfo ( ) #

Returns information on the Engine binary.

Return value

Information on the Engine binary.

string GetRevisionInfo ( ) #

Returns information on the Engine version.

Return value

Information on the Engine version, date.

string GetSystemInfo ( ) #

Returns operating system information.

Return value

Operating system information.

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

string 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 ( string str ) #

Returns the type of the GPU win the specified name.

Arguments

  • string 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-12-14
Build: ()