65 unsigned long long _VRAMSize;
66 unsigned long long _TRAMSize;
Singleton class that provides information about GPU.
unsigned long getTextureMemorySizeInMB() const
Determine the amount of texture memory in megabytes that is available to the accelerated renderer of ...
unsigned long getVideoMemorySizeInMB() const
Determines the amount of video memory in megabytes that is available to the accelerated renderer of t...
static GPUInfo & getInstance()
Returns the single existing object of this class.
GPUInfo()
This constructor must not be called from anywhere else but the getInstance() method (which does call ...
#define ML_OPENGL_END_NAMESPACE
Closes the namespace for all ML stuff after the usage of ML_UTILS_START_NAMESPACE.
#define ML_OPENGL_START_NAMESPACE
Macro to put all following stuff into the namespace ML_NAMESPACE to avoid collisions with symbols of ...
Target mlrange_cast(Source arg)
Generic version of checked ML casts.