From 6c6b1c015c570e728b007cd94723eb2c711bec4b Mon Sep 17 00:00:00 2001 From: Germano Cavalcante Date: Mon, 1 Mar 2021 17:35:10 -0300 Subject: GPU Python: Implement gpu.texture.from_image It can be useful to replace `image.bindcode` and `image.gl_load`. Used for example in https://docs.blender.org/api/current/gpu.html#d-image Reviewed By: brecht Differential Revision: https://developer.blender.org/D10458 --- doc/python_api/sphinx_doc_gen.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py index 2b659de1cf8..5c6cf24a178 100644 --- a/doc/python_api/sphinx_doc_gen.py +++ b/doc/python_api/sphinx_doc_gen.py @@ -253,6 +253,7 @@ else: "gpu.select", "gpu.shader", "gpu.state", + "gpu.texture", "gpu_extras", "idprop.types", "mathutils", @@ -1981,10 +1982,11 @@ def write_rst_importable_modules(basepath): "imbuf.types": "Image Buffer Types", "gpu": "GPU Shader Module", "gpu.types": "GPU Types", - "gpu.matrix": "GPU Matrix", - "gpu.select": "GPU Select", - "gpu.shader": "GPU Shader", - "gpu.state": "GPU State", + "gpu.matrix": "GPU Matrix Utilities", + "gpu.select": "GPU Select Utilities", + "gpu.shader": "GPU Shader Utilities", + "gpu.state": "GPU State Utilities", + "gpu.texture": "GPU Texture Utilities", "bmesh": "BMesh Module", "bmesh.ops": "BMesh Operators", "bmesh.types": "BMesh Types", -- cgit v1.2.3