Hacker News new | ask | show | jobs
by Sir_Cmpwn 2940 days ago
Hum. That doesn't make sense, the OpenGL API is entirely C oriented and I don't know of any C++ docs.
2 comments

It doesn’t make sense, but it jibes with my experience. Tutorials and blog posts about OpenGL are super heavy on C++, because gaming.

The official docs are C, of course, because the API is C. But the docs are rather abstruse for a beginner, and really become useful only well after you’ve gotten your bearings. (e.g. my personal beef: function names tend to be two nouns with no verb to say what the thing actually does, so you look in the docs and it says it “binds” noun A and noun B, with no explanation of what “binds” means in context, which direction the data binding goes, whether it persists, etc.)

The OP probably meant most OpenGL blogs, books and tutorials. The actual OpenGL API reference is pure C.