OpenGL::Modern::Helpers(3)

NAME
OpenGL::Modern::Helpers - example usage of raw pointers from perl

OpenGL::Modern API Implementation
This module existed to support the use of the OpenGL::Modern package for OpenGL bindings by documenting details of the implementation and giving example routines showing the use from perl.

OpenGL::Modern is an XS module providings bindings to the C OpenGL library for graphics. As of 0.0403, it now has "_p" bindings for all functions with pointers that have metadata in the OpenGL XML registry (see <https://raw.githubusercontent.com/KhronosGroup/OpenGL-Registry/refs/heads/main/xml/gl.xml>). All of the "helper" versions of routines that implemented "_p" versions on top of "_c" versions now just import and re-export the native "_p" versions.

See the automatically-generated documentation in OpenGL::Modern for interfaces for all OpenGL functions that are bound, which is pretty much all of them, since the list comes from GLEW. Some only have "_c" bindings as noted above, due to incomplete metadata in the registry. Since that is largely only true for routines that were removed in 3.2+ "core" profiles, that is unlikely to change.