| 258 | */ |
| 259 | template <typename T, std::enable_if_t<std::is_arithmetic<T>::value, bool> = true> |
| 260 | void UpdateBufferData(int bufferIndex, const std::vector<T>& newData) |
| 261 | { |
| 262 | this->WriteBufferData(bufferIndex, 0, newData.data(), newData.size() * sizeof(T)); |
| 263 | } |
| 264 | |
| 265 | /** |
| 266 | * Similar to the overload without offset of this function. |
nothing calls this directly
no test coverage detected