caramia-0.7.2.2: High-level OpenGL bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.Caramia.Memory

Description

Retrieve video memory information.

Synopsis

Documentation

getMemoryInfo :: MonadIO m => m MemoryInfo Source

Returns information about current state of video memory.

There is no guarantee that all, or even any information is actually returned. You need either 'GL_ATI_meminfo' or 'GL_NVX_gpu_memory_info' extension to get any results.

No guarantees for accuracy either. Seriously, don't rely on this for anything but rough estimation.