| 
    VTK
    9.5.20251103
    
   | 
 
#include <vtkWebGPUHelpers.h>
Static Public Member Functions | |
| static void | WriteComputeTextureToDisk (const std::string &filepath, vtkSmartPointer< vtkWebGPUComputePass >, int textureIndex, int mipLevel, bool flipY=false) | 
| Writes a certain mip level of a texture from a compute path to a PNG file on the disk.   | |
| static std::string | StringViewToStdString (wgpu::StringView sv) | 
Definition at line 13 of file vtkWebGPUHelpers.h.
      
  | 
  static | 
Writes a certain mip level of a texture from a compute path to a PNG file on the disk.
This function behaves like Dispatch(), ReadBufferFromGPU(), ReadTextureFromGPU(), .. in the sense that it will only be executed after a call to vtkWebGPUComputePipeline::Update().
The flipY parameter is used the flip the output along the Y-axis. Useful if the texture's internal storage is reversed along the Y-axis
      
  | 
  static |