Can I access Blender's internal openGL state from bpy or bgl?

by Daniel L. de Almeida   Last Updated May 15, 2019 21:15 PM

I am interested in building a custom scene exporter and for that it would be nice to be able to access Blender's openGL state directly.

I'd like to, for instance, be able to access allocated VAOs, VBOs, shaders, etc from bpy or bgl itself.

I am looking for something akin to gpu.export_shader() I guess but for other opengl objects. Is it even possible?

Tags : python opengl

Related Questions

Updated April 12, 2015 20:06 PM

Updated March 24, 2017 14:15 PM

Updated June 01, 2017 07:15 AM

Updated February 23, 2018 19:15 PM

Updated April 04, 2018 12:15 PM