VTK  9.7.1
vtkWebGPUShaderModuleInternals.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
3 #ifndef vtkWebGPUShaderModuleInternals_h
4 #define vtkWebGPUShaderModuleInternals_h
5 
6 #include "vtkRenderingWebGPUModule.h"
7 #include "vtk_wgpu.h"
8 
9 #include <string>
10 
11 VTK_ABI_NAMESPACE_BEGIN
12 class VTKRENDERINGWEBGPU_NO_EXPORT vtkWebGPUShaderModuleInternals
13 {
14 public:
15  static wgpu::ShaderModule CreateFromWGSL(const wgpu::Device& device, const std::string& source);
16  static wgpu::ShaderModule CreateFromSPIRV(const wgpu::Device& device, const uint32_t* code);
17 };
18 VTK_ABI_NAMESPACE_END
19 
20 #endif
21 // VTK-HeaderTest-Exclude: vtkWebGPUShaderModuleInternals.h
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)