caramia-0.2.0.1: Less painful OpenGL 3.3 rendering

Safe HaskellNone
LanguageHaskell2010

Graphics.Caramia.Memory

Description

Retrieve video memory information.

Synopsis

Documentation

getMemoryInfo :: IO 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.