This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/doc/python_api/examples
Germano Cavalcante 2ce8b01c59 PyGPU: call 'GPU_shader_bind' in 'GPUShader.uniform_' methods
This simplifies python code.

When we call a method like shader.uniform_float("color", (1,1,1,1)),
we expect the shader's uniform to be updated regardless of whether the
shader is bound or not.

And `batch.draw()` already calls `GPU_shader_bind` inside.

Differential Revision: https://developer.blender.org/D15929
2022-09-19 09:40:20 -03:00
..
2021-09-18 19:28:55 +02:00
2019-03-17 21:00:56 +11:00
2021-07-06 12:05:27 +10:00
2019-11-01 10:53:47 +11:00
2019-11-01 10:53:47 +11:00
2019-11-01 10:53:47 +11:00
2019-11-01 10:53:47 +11:00
2019-06-06 17:13:02 +02:00
2021-07-06 12:05:27 +10:00
2019-03-22 00:07:06 +11:00
2019-03-22 00:07:06 +11:00
2021-07-06 12:05:27 +10:00
2022-05-11 11:02:01 +10:00
2016-02-15 19:43:08 +11:00
2015-09-08 19:42:58 +10:00
2019-03-17 21:00:56 +11:00
2015-09-08 19:42:58 +10:00
2022-04-26 15:03:04 +10:00