Blender Git Commit Log

Git Commits -> Revision 6c6b1c0

Revision 6c6b1c0 by Germano Cavalcante (master)
March 1, 2021, 20:38 (GMT)
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

Commit Details:

Full Hash: 6c6b1c015c570e728b007cd94723eb2c711bec4b
Parent Commit: f39143b
Lines Changed: +70, -4

4 Modified Paths:

/doc/python_api/sphinx_doc_gen.py (+6, -4) (Diff)
/source/blender/python/gpu/gpu_py_api.c (+3, -0) (Diff)
/source/blender/python/gpu/gpu_py_texture.c (+59, -0) (Diff)
/source/blender/python/gpu/gpu_py_texture.h (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021