I'm just learning OpenGL in here and experimenting.
This is not meant to be anything for anyone to use, but maybe you can find some useful techniques and code examples in here, idk.
CW: Trying out a bunch of meta-programming shenanigans in here.
- Custom self made delegates for handling callbacks/events.
- Templated way of handling
Shader Programs,Uniform Parametersin Shaders andVertex Attributesfor polygons, because I hate how it has no error handling internally. - Flexible way of setting up how exactly your polygons are rendered.
- Following principles of SOLID where applicable.
- Trying to use as much C++17-23 as possible.
The project doesn't require any setups aside from VCPKG being installed.
So... Just run the CMake build process the usual way you do, either via CLion, VS, VSC, or terminal.
And hopefully it works first try, I tried my best to make it as portable as possible.
At Post-Compilation - all assets are moved into the same folder where executable is, everything is automatic.
Additional note: I use G++ as a primary compiler, so if you are using MSVC there is a chance it might not compile.