UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
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

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

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

Returns the current CPU frequency.

Return value

Current CPU frequency, in MHz.

int getCPUCount ( ) #

Returns the number of available CPUs.

Return value

Number of available CPUs.

int getCPUThreads ( ) #

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

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.
Last update: 2020-07-31