Skip to content
Snippets Groups Projects
Forked from VTK / VTK
Loading
Jaswant Panchumarti's avatar
Jaswant Panchumarti (Kitware) authored
- The new `ReadTextureFromGPU` method is used to copy a `wgpu::Texture` into a `wgpu::Buffer`, then map the buffer to the CPU. The callback function will be invoked with the mapped data.
- The GetPixelData(), GetRGBAPixelData() and GetRGBACharPixel() methods have all been refactored to now leverage `ReadTextureFromGPU`.
0849386d
History