Blender Git Loki
Git Commits -> Revision 1b42fe4
Revision 1b42fe4 by Germano Cavalcante (pygpu_extensions) February 11, 2021, 18:00 (GMT) |
GPU Python: Implement new object type 'gpu.types.GPUTexture' This object allows you to do some simple operations with Textures on the GPU. Can also be used for `gpu.types.GPUShader`. It will be important to implement `gpu.types.GPUFramebuffer`. The API of this object includes: ``` >>> gpu.types.GPUTexture. clear( free( height read( width ``` |
Commit Details:
Full Hash: 1b42fe4fa4e10c1b4613fc859035b9d9e86944da
Parent Commit: 4a9e944
Lines Changed: +1211, -1
6 Added Paths:
/source/blender/python/gpu/gpu_py.c (+45, -0) (View)
/source/blender/python/gpu/gpu_py.h (+23, -0) (View)
/source/blender/python/gpu/gpu_py_buffer.c (+591, -0) (View)
/source/blender/python/gpu/gpu_py_buffer.h (+53, -0) (View)
/source/blender/python/gpu/gpu_py_texture.c (+415, -0) (View)
/source/blender/python/gpu/gpu_py_texture.h (+34, -0) (View)
/source/blender/python/gpu/gpu_py.h (+23, -0) (View)
/source/blender/python/gpu/gpu_py_buffer.c (+591, -0) (View)
/source/blender/python/gpu/gpu_py_buffer.h (+53, -0) (View)
/source/blender/python/gpu/gpu_py_texture.c (+415, -0) (View)
/source/blender/python/gpu/gpu_py_texture.h (+34, -0) (View)