Blender Git Loki

Git Commits -> Revision e039476

Revision e039476 by Jon Denning (master)
September 13, 2021, 06:16 (GMT)
GPUShader: Expose name for debugging & identifying shaders

Added optional `name` argument to `GPUShader` constructor
(defaults to `pyGPUShader`), and added `name` getter to `GPUShader`.

Ref D12393

Reviewed By: campbellbarton, jbakker

Commit Details:

Full Hash: e0394761b954759f8723bdc8f4a1686bf70954ed
Parent Commit: b5a1c19
Committed By: Campbell Barton
Lines Changed: +44, -9

3 Modified Paths:

/source/blender/gpu/GPU_shader.h (+4, -1) (Diff)
/source/blender/gpu/intern/gpu_shader.cc (+17, -2) (Diff)
/source/blender/python/gpu/gpu_py_shader.c (+23, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021