Skip to content

A base C++ project with all the usual libs needed to create games, engines, tools, libs...

License

Notifications You must be signed in to change notification settings

4nc3str4l/template_gfx_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

template_gfx_project

template_gfx_project serves as a foundational project designed for seamless integration of OpenGL and ImGui. Its primary objective is to offer a boilerplate codebase for developers looking to initiate a graphical application harnessing OpenGL for rendering and ImGui for graphical user interfaces.

While it's feasible to structure this as a library, allowing users to simply embed logic within Update(), Render(), and RenderIMGUI() functions, that is not the intent of this project. The primary goal is to ensure everything is set up and operational whenever I wish to create a new application utilizing these libraries as I allways find myself loosing 1h to setup everything.

Project Image

Dependencies

The project relies on the following libraries:

  • glad: Provides the source code to handle OpenGL function pointers.
  • SDL2: Used for creating a window, OpenGL context, and handling input.
  • ImGui: An immediate-mode GUI library to create interfaces within the OpenGL context.

Building the Project

The project uses CMake as its build system. Here are the steps to compile the project:

mkdir build
cd build
cmake ..
cmake --build .