AntTweakBar
C/C++ library to add light and intuitive GUI to OpenGL and DX programs
... to tune parameters (even in fullscreen mode) and see the result in real-time like 3D demos, games, prototypes, inline editors, debug facilities of weightier graphical applications, etc.
The project is not maintained anymore but feel free to download and modify the source code to fit your needs or fix issues.