Blender Git Loki

Git Commits -> Revision 4a9e944

Revision 4a9e944 by Germano Cavalcante (pygpu_extensions)
February 11, 2021, 18:00 (GMT)
GPU Python: Implement new 'gpu.state' module

This new module includes:
```
>>> gpu.state.
blend_get(
blend_set(
color_mask_set(
depth_mask_get(
depth_mask_set(
depth_test_get(
depth_test_set(
face_culling_set(
front_facing_set(
line_width_get(
line_width_set(
point_size_set(
program_point_size_set(
viewport_get(
viewport_set(
```

More details will be in the Blender Python API documentation.

Commit Details:

Full Hash: 4a9e944704bd5280c9332e0dc4d4e2f0c3cb93a2
Parent Commit: 0cdb4ec
Lines Changed: +445, -0

2 Added Paths:

/source/blender/python/gpu/gpu_py_state.c (+405, -0) (View)
/source/blender/python/gpu/gpu_py_state.h (+23, -0) (View)

4 Modified Paths:

/source/blender/python/generic/py_capi_utils.c (+10, -0) (Diff)
/source/blender/python/generic/py_capi_utils.h (+1, -0) (Diff)
/source/blender/python/gpu/CMakeLists.txt (+2, -0) (Diff)
/source/blender/python/gpu/gpu_py_api.c (+4, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021