| 446 | } |
| 447 | |
| 448 | void DrawBatch::SetUniformFloat(std::string _name, GLfloat data) { |
| 449 | for (auto &uniform : uniforms) { |
| 450 | if (uniform.name == _name) { |
| 451 | uniform.data[0] = data; |
| 452 | return; |
| 453 | } |
| 454 | } |
| 455 | AddUniformFloat(_name, data); |
| 456 | } |
| 457 | |
| 458 | void DrawBatch::MakeUniformIndividual(std::string _name) { |
| 459 | for (auto &uniform : uniforms) { |
no outgoing calls
no test coverage detected