35 #ifndef vtkWebGPURenderPipelineCache_h
36 #define vtkWebGPURenderPipelineCache_h
40 #include "vtkRenderingWebGPUModule.h"
44 VTK_ABI_NAMESPACE_BEGIN
61 void ReleaseGraphicsResources(
vtkWindow* window);
74 std::string GetPipelineKey(wgpu::RenderPipelineDescriptor* descriptor,
const char* shaderSource);
82 std::string GetPipelineKey(wgpu::RenderPipelineDescriptor* descriptor,
83 const char* vertexShaderSource,
const char* fragmentShaderSource);
92 void CreateRenderPipeline(wgpu::RenderPipelineDescriptor* descriptor,
103 void CreateRenderPipeline(wgpu::RenderPipelineDescriptor* descriptor,
105 const char* fragmentShaderSource);
114 static bool Substitute(
132 std::unique_ptr<vtkInternals> Internals;
135 VTK_ABI_NAMESPACE_END
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.
window superclass for vtkRenderWindow
a simple class to control print indentation
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
Class to create and retrieve render pipelines based on a given key.