MCPcopy Create free account
hub / github.com/Kitware/VTK / UpdateBufferData

Function UpdateBufferData

Rendering/WebGPU/vtkWebGPUComputePass.h:260–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 3

WriteBufferDataMethod · 0.80
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected