Search code examples
visual-studio-codeglad

Show OpenGL function documentation when using GLAD?


In Visual Studio Code when i hover over the "glClear(GL_COLOR_BUFFER_BIT)" as an example it does not show the OpenGL definition of the function.

Instead it shows:

#define glClear glad_glClear

Expands to: glad_glClear

Is there a way to show the OpenGL documentation instead?


Solution

  • GLAD-generated headers do not contain any information that a tool like a VS Code plugin can use to track down documentation. They certainly do not contain the documentation itself.