20ML_OPENGL_START_NAMESPACE
61 bool detectRAMFromLinuxProcessOutput(FILE* p);
65 unsigned long long _VRAMSize;
66 unsigned long long _TRAMSize;
69ML_OPENGL_END_NAMESPACE
Singleton class that provides hardware specific information.
unsigned long getVideoMemorySizeInMB() const
Determines the amount of video memory in megabytes that is available to the accelerated renderer of t...
GPUInfo()
This constructor must not be called from anywhere else but the getInstance() method (which does call ...
static GPUInfo & getInstance()
Returns the single existing object of this class.
unsigned long getTextureMemorySizeInMB() const
Determine the amount of texture memory in megabytes that is available to the accelerated renderer of ...
#define MLOPENGL_EXPORT
Macro to put all following stuff into the namespace ML_NAMESPACE to avoid collisions with symbols of ...