libepoxy
1.5.3
|
Epoxy is a library for handling OpenGL function pointer management for you.
It hides the complexity of dlopen()
, dlsym()
, glXGetProcAddress()
, eglGetProcAddress()
, etc. from the app developer, with very little knowledge needed on their part. They get to read GL specs and write code using undecorated function names like glCompileShader()
.
Don't forget to check for your extensions or versions being present before you use them, just like before! We'll tell you what you forgot to check for instead of just segfaulting, though.
glBufferData()
can be used with GL_ARB_vertex_buffer_object
implementations, along with GL 1.5+ implementations.Using Epoxy should be as easy as replacing:
with:
Epoxy comes with the following public headers:
epoxy/gl.h
- For GL APIepoxy/egl.h
- For EGL APIepoxy/glx.h
- For GLX APIepoxy/wgl.h
- For WGL APIThe latest version of the Epoxy code is available on GitHub.
For bug reports and enhancements, please use the Issues link.
The scope of this API reference does not include the documentation for OpenGL and OpenGL ES. For more information on those programming interfaces please visit: