OpenGL is not object-oriented, but more like "switches you turn on"?
Like
glEnable(...);
list_id = glGenLists(1);
glNewList(list_id, GL_COMPILE);
glBegin(GL_TRIANGLES);
...
It seems like one's turning on switches on some machine which is contained somewhere, but it isn't seen as an object in object-oriented sense?
Is there a name for this kind of programming or library paradigm?
I'm using it from C++, but perhaps the way it's used is "C-style"?