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

Function UpdateTextureData

Rendering/WebGPU/vtkWebGPUComputePass.h:300–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298 */
299 template <typename T, std::enable_if_t<std::is_arithmetic<T>::value, bool> = true>
300 void UpdateTextureData(int textureIndex, const std::vector<T>& data)
301 {
302 this->WriteTextureData(textureIndex, data.data(), data.size() * sizeof(T));
303 }
304
305 ///@{
306 /*

Callers

nothing calls this directly

Calls 3

WriteTextureDataMethod · 0.80
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected