Giter VIP home page Giter VIP logo

cppgl's Introduction

cppgl

This is the very first (that I know of) independent and yet header only OpenGL library that ships with OpenGL 1.0 all the way up to OpenGL 4.5.

Is there any versions missing from this library?

No, unless a version newer than OpenGL 4.5 comes out you would be golden. Note: In order to use any version of OpenGL from this you must define one of the following macros:

USE_OPENGL45
USE_OPENGL44
USE_OPENGL43
USE_OPENGL42
USE_OPENGL41
USE_OPENGL40
USE_OPENGL33
USE_OPENGL32
USE_OPENGL31
USE_OPENGL30
USE_OPENGL21
USE_OPENGL20
USE_OPENGL15
USE_OPENGL14
USE_OPENGL13
USE_OPENGL12
USE_OPENGL11
USE_OPENGL10

I can only use up to OpenGL 2.1 without my program crashing, can I still use this library?

Yes, as long as you use any version before OpenGL 3.0 you should be golden. I know of one Craphics Driver (The Intel gm45 from 2008) that is known to cause problems with versions of OpenGL newer than 2.1.

How can I compile this library?

Just include cppgl.hpp into your source files and then compile like normal.

What if a new version of OpenGL comes out? If a new version comes out simply tell me on discord or file an issue on this github repository.

Including this library

In order to include this define one of the macros above and then right after (the line right after) do this:

#include <cppgl/cppgl.hpp>

And you are all set to use that version of OpenGL.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.