|
MeVisLab Resolution Independence API
|
#include <mlGPUInfo.h>
Public Member Functions | |
| unsigned long | getVideoMemorySizeInMB () const |
| unsigned long | getTextureMemorySizeInMB () const |
Static Public Member Functions | |
| static GPUInfo & | getInstance () |
Protected Member Functions | |
| GPUInfo () | |
Singleton class that provides hardware specific information. To get a pointer to a valid object of this type, use the getInstance() method.
Definition at line 26 of file mlGPUInfo.h.
|
protected |
This constructor must not be called from anywhere else but the getInstance() method, which does call this function if the static pointer to the valid object is not set yet.
Referenced by getInstance().
|
static |
Returns the single existing object of this class. The concept of this class is based on the Singleton design pattern, which ensures there is only one object of this class. (NOT THREAD-SAFE!)
References GPUInfo().
|
inline |
Determines the amount of texture memory in megabytes that is available to the accelerated renderer of the primary display. The amount of texture memory is somewhat smaller than the amount of video memory (e.g., framebuffer needs memory too). Returns a value of 0 if failed.
Definition at line 56 of file mlGPUInfo.h.
|
inline |
Determines the amount of video memory in megabytes that is available to the accelerated renderer of the primary display. Returns a value of 0 if failed.
Definition at line 49 of file mlGPUInfo.h.