All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Luminous::GPUAssociation Class Reference

Static Public Member Functions

static LUMINOUS_API unsigned int gpuId (OpenGLContextHandle *handle)
 Get GPU id for the given OpenGL context.
 
static LUMINOUS_API unsigned int gpuRam (unsigned int gpuId)
 Get amount of RAM available on the given GPU in MB.
 
static LUMINOUS_API bool isSupported ()
 Is GPU association supported?
 
static LUMINOUS_API unsigned int numGPUs ()
 Get number of GPUs on the system.