Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGermano Cavalcante <mano-wii>2021-03-01 23:35:10 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2021-03-01 23:38:57 +0300
commit6c6b1c015c570e728b007cd94723eb2c711bec4b (patch)
treec40229a8009a9501acad51b91f09a87d0a4e4914 /doc/python_api/sphinx_doc_gen.py
parentf39143bc2ed4eb33bb85a3d923cb457384141bf8 (diff)
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
Diffstat (limited to 'doc/python_api/sphinx_doc_gen.py')
-rw-r--r--doc/python_api/sphinx_doc_gen.py10
1 files changed, 6 insertions, 4 deletions
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",