gawain/immediate mode: new util functions for color uniforms

This commit is contained in:
Dalai Felinto
2016-10-12 23:01:59 +00:00
parent f6e7e46fac
commit e79f302f16
3 changed files with 24 additions and 0 deletions

View File

@@ -37,3 +37,9 @@
/* Extend immBindProgram to use Blenders 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);