bgl module will be replace by gpu module
maybites opened this issue · comments
need to keep looking for updates in this space:
https://devtalk.blender.org/t/suggestions-feedback-on-the-extensions-for-the-gpu-module/17706
https://docs.blender.org/api/current/gpu.html#rendering-the-3d-view-into-a-texture
I think we can close this one now :)
I need it here:
do you have an idea how to replace it?
You mean the bgl.GL_TEXTURE_2D? You could replace it with pyopengl's constant definition of GL_TEXTURE_2D, which is installed anyways with syphon-python.