| 464 | } |
| 465 | |
| 466 | void DrawBatch::ApplyIndividualUniforms() const { |
| 467 | for (const auto &uniform : uniforms) { |
| 468 | if (uniform.individual) { |
| 469 | uniform.Apply(); |
| 470 | } |
| 471 | } |
| 472 | } |
| 473 | |
| 474 | void DrawBatch::SetUniformVec3(std::string _name, const vec3 &_data) { |
| 475 | for (auto &uniform : uniforms) { |