OGRE
14.2
Object-Oriented Graphics Rendering Engine
|
Class which provides the run-time platform information Ogre runs on. More...
#include <OgrePlatformInformation.h>
Public Types | |
enum | CpuFeatures { CPU_FEATURE_NONE = 0 } |
Enum describing the different CPU features we want to check for, platform-dependent. More... | |
Static Public Member Functions | |
static uint | getCpuFeatures (void) |
Gets a or-masked of enum CpuFeatures that are supported by the CPU. More... | |
static const String & | getCpuIdentifier (void) |
Gets a string of the CPU identifier. More... | |
static bool | hasCpuFeature (CpuFeatures feature) |
Gets whether a specific feature is supported by the CPU. More... | |
static void | log (Log *pLog) |
Write the CPU information to the passed in Log. More... | |
Class which provides the run-time platform information Ogre runs on.
Ogre is designed to be platform-independent, but some platform and run-time environment specific optimised functions are built-in to maximise performance, and those special optimised routines are need to determine run-time environment for select variant executing path.
|
static |
Gets a string of the CPU identifier.
|
static |
Gets a or-masked of enum CpuFeatures that are supported by the CPU.
|
static |
Gets whether a specific feature is supported by the CPU.
|
static |
Write the CPU information to the passed in Log.