diff options
author | Mike Erwin <significant.bit@gmail.com> | 2017-03-03 05:27:51 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2017-03-03 05:28:28 +0300 |
commit | e0a2bd43dda7490f495b11acdfa2ac7fec55b4ef (patch) | |
tree | 23451e2ad5983aced65f5d553d72e30ddd906106 /source/blender/gpu/GPU_buffers.h | |
parent | 85945849a9d10f5daa72d1adca1f8e2b10407bea (diff) |
Gawain: add ShaderInterface for GLSL introspection
After a GLSL program is linked we can get all its inputs & never have to ask it again.
Several uniforms are considered "built-in". Nothing special about these to OpenGL itself, they just follow conventions of our built-in shaders.
This will help the matrix API, immediate & batch drawing APIs, and allow extra error/compatibility checking.
Diffstat (limited to 'source/blender/gpu/GPU_buffers.h')
0 files changed, 0 insertions, 0 deletions