Files
test2/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
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
2021-07-06 12:05:27 +10:00
2021-07-06 12:05:27 +10:00
2022-05-11 11:02:01 +10:00
2022-04-26 15:03:04 +10:00