diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2016-10-13 02:01:59 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2016-10-13 03:36:52 +0300 |
commit | e79f302f1613adfb957c2f8f5fca50aba7f25259 (patch) | |
tree | f0ce5151d625f27cc4a95c310bd7a115fb578b45 /source/blender/gpu/GPU_immediate.h | |
parent | f6e7e46fac71eda949858edcf21fab79a5a2573f (diff) |
gawain/immediate mode: new util functions for color uniforms
Diffstat (limited to 'source/blender/gpu/GPU_immediate.h')
-rw-r--r-- | source/blender/gpu/GPU_immediate.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_immediate.h b/source/blender/gpu/GPU_immediate.h index 8e7f91b0f7f..96b8cbb22b0 100644 --- a/source/blender/gpu/GPU_immediate.h +++ b/source/blender/gpu/GPU_immediate.h @@ -37,3 +37,9 @@ /* Extend immBindProgram to use Blender’s library of built-in shader programs. * Use immUnbindProgram() when done. */ void immBindBuiltinProgram(GPUBuiltinShader); + +/* + * Extend immUniformColor to take Blender's themes + */ +void immUniformThemeColor(int colorid); +void immUniformThemeColorShade(int colorid, int offset);
\ No newline at end of file |