Bind all OpenGL functions #1

Open
opened 2023-05-29 22:38:48 +00:00 by sanine · 0 comments
Owner

Of the libraries that honey core exposes, the one with the least complete bindings is, perhaps ironically, OpenGL. The OpenGL bindings could use some more love! The names are inconsistent, the X-macro style is inconsistent, and the coverage is rather poor. All of this needs to get cleaned up.

The generate-binding.lua util script should hopefully help quite a bit in making this not such a massive pain to do.

A full list of OpenGL 4 functions can be found in the Khronos reference pages, but it may be lil tricky to navigate because honey is built for OpenGL 4.1 and there are functions in there that are for OpenGLs 4.2+.

Of the libraries that honey core exposes, the one with the least complete bindings is, perhaps ironically, OpenGL. The OpenGL bindings could use some more love! The names are inconsistent, the X-macro style is inconsistent, and the coverage is rather poor. All of this needs to get cleaned up. The `generate-binding.lua` util script should hopefully help quite a bit in making this not such a massive pain to do. A full list of OpenGL 4 functions can be found in the [Khronos reference pages], but it may be lil tricky to navigate because honey is built for OpenGL 4.1 and there are functions in there that are for OpenGLs 4.2+. [Khronos reference pages]: https://registry.khronos.org/OpenGL-Refpages/gl4/
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: sanine/honey-core#1
No description provided.