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)

4 Modified Paths:

/source/blender/python/gpu/CMakeLists.txt (+6, -0) (Diff)
/source/blender/python/gpu/gpu_py_shader.c (+33, -1) (Diff)
/source/blender/python/gpu/gpu_py_types.c (+8, -0) (Diff)
/source/blender/python/gpu/gpu_py_types.h (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021