Add C++ side support for unsigned int shader uniforms. Note that the shader languages love currently supports (glsl 1.20, glsl es 1.00) don’t support uints at the moment.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-01-02 20:41:07 -04:00
parent abb72cb813
commit 8899c03651
8 changed files with 60 additions and 12 deletions
+2
View File
@@ -71,6 +71,7 @@ public:
UNIFORM_FLOAT,
UNIFORM_MATRIX,
UNIFORM_INT,
UNIFORM_UINT,
UNIFORM_BOOL,
UNIFORM_SAMPLER,
UNIFORM_UNKNOWN,
@@ -108,6 +109,7 @@ public:
void *data;
float *floats;
int *ints;
unsigned int *uints;
};
Texture **textures;