mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user