Skip to content

Coddeus/opengl_cpp_vscode_sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opengl_cpp_vscode_sample

Code example to test your VSCode C++ OpenGL setup with GLFW/GLAD.
Done on Windows and Ubuntu, with the g++ compiler.
Note: on linux, you have to compile glfw from source.

How to use this repo

  • watch this video.
  • main.cpp is an example file for GLFW/GLAD use (for OpenGL 3.3). Just copy its content if you don't already have a cpp file.
  • tasks.json is the VSCode file (put it in .vscode/) which tells how to build the exe. Change the paths given so they match your repo structure and compiler location.

ImGui

There's another branch "imgui" with similar samples, but with ImGui as well.

About

Code example to test your VSCode C++ OpenGL setup with GLFW/GLAD

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages