4 #ifndef vtkWebGPUComputePipeline_h
5 #define vtkWebGPUComputePipeline_h
12 #include <unordered_map>
14 VTK_ABI_NAMESPACE_BEGIN
61 const std::vector<vtkSmartPointer<vtkWebGPUComputePass>>& GetComputePasses()
const;
66 void DispatchAllPasses();
83 void ReleaseResources();
118 bool GetRegisteredBuffer(
121 bool GetRegisteredTexture(
129 void EnsureConfigured();
140 std::vector<vtkSmartPointer<vtkWebGPUComputePass>> ComputePasses;
153 std::unordered_map<vtkSmartPointer<vtkWebGPUComputeBuffer>, wgpu::Buffer> RegisteredBuffers;
154 std::unordered_map<vtkSmartPointer<vtkWebGPUComputeTexture>, wgpu::Texture> RegisteredTextures;
160 VTK_ABI_NAMESPACE_END
Internals of the vtkWebGPUComputePass.
Converts VTK cell connectivity arrays into webgpu primitives using compute shaders.
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Create a webgpu device for use in rendering and compute pipelines.
A compute pipeline is the orchestrator of a collection of compute passes.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...