Go to the source code of this file.
|
#define | CASE(n, t, T) case n: glUniform##n##t##v(program.getUniformLocation(var.first.c_str()), var.second.getCount(), var.second.getData<T>()); break; |
|
#define | CASE(n) case n: glUniformMatrix##n##fv(program.getUniformLocation(var.first.c_str()), var.second.getCount(), GL_FALSE, var.second.getData<GLfloat>()); break; |
|
◆ CASE [1/2]
#define CASE |
( |
|
n, |
|
|
|
t, |
|
|
|
T |
|
) |
| case n: glUniform##n##t##v(program.getUniformLocation(var.first.c_str()), var.second.getCount(), var.second.getData<T>()); break; |
◆ CASE [2/2]
#define CASE |
( |
|
n | ) |
case n: glUniformMatrix##n##fv(program.getUniformLocation(var.first.c_str()), var.second.getCount(), GL_FALSE, var.second.getData<GLfloat>()); break; |