Ocular Engine
|
#include <SystemInfo.hpp>
Static Public Member Functions | |
static void | initialize () |
static void | refresh () |
static void | logSystemInfo () |
static OperatingSystems | getOperatingSystem () |
static ProcessorArchitectures | getProcessorArchitecture () |
static Endianness | getEndianness () |
static OpenGLLevels | getOpenGLSupportLevel () |
static DirectXLevels | getDirectXSupportLevel () |
static uint64_t | getTotalRAM () |
static uint64_t | getFreeRAM () |
static uint64_t | getTotalGPUMemory () |
static uint64_t | getFreeGPUMemory () |
static uint32_t | getNumberOfChannels () |
static uint32_t | getNumberOfThreads () |
static Core::Directory | getWorkingDirectory () |
Static class that collects many pieces of useful system information such as OS, architecture, supported graphics APIs, etc.
|
static |
Returns the level of DirectX support on this system.
|
static |
Returns the endianness of the system.
|
static |
Returns the total amount of memory that is free and not in use on the GPUs (in bytes).
|
static |
Returns the total amount of physical RAM that is available on the system (in bytes).
|
static |
Returns number of output channels (monitors, etc.) on the system.
|
static |
Returns the number of supported concurrent threads.
|
static |
Returns the level of OpenGL support on this system.
|
static |
Returns the current running Operating System.
|
static |
Returns the processor architecture for the system.
|
static |
Returns the total amount of memory on the GPUs (both used and unused) (in bytes).
|
static |
Returns the total amount of physical RAM on this system (in bytes).
|
static |
Returns the directory that the executable is running from.
|
static |
Populates with all available system info.
|
static |
Helper method that logs all current system information.
|
static |
Forces a refresh of variables that can change during program lifetime. These include:
- Available RAM - Available GPU Memory - Available Channels
This method is called automatically at the start of each frame.