///////////////////////////////////////////////////////
| 698 | |
| 699 | //////////////////////////////////////////////////////////// |
| 700 | void Shader::setUniformArray(const std::string& name, const float* scalarArray, std::size_t length) |
| 701 | { |
| 702 | const UniformBinder binder(*this, name); |
| 703 | if (binder.location != -1) |
| 704 | glCheck(GLEXT_glUniform1fv(binder.location, static_cast<GLsizei>(length), scalarArray)); |
| 705 | } |
| 706 | |
| 707 | |
| 708 | //////////////////////////////////////////////////////////// |
nothing calls this directly
no test coverage detected