Python API: warn that the bgl module is deprecated in the docs
This was already mentioned in the release notes but not the API docs. Ref T80730
This commit is contained in:
parent
bc6965cb98
commit
1a627d528c
Notes:
blender-bot
2023-02-14 18:48:56 +01:00
Referenced by issue #98298, Regression: Attribute capture yields broken results Referenced by issue blender/blender-addons#80730, BGL deprecation
|
@ -4,6 +4,12 @@ OpenGL Wrapper (bgl)
|
|||
|
||||
.. module:: bgl
|
||||
|
||||
.. warning::
|
||||
|
||||
This module is deprecated and will be removed in a future release,
|
||||
when OpenGL is replaced by Metal and Vulkan.
|
||||
Use the graphics API independent :mod:`gpu` module instead.
|
||||
|
||||
This module wraps OpenGL constants and functions, making them available from
|
||||
within Blender Python.
|
||||
|
||||
|
|
Loading…
Reference in New Issue