VTK  9.3.0
vtkWebGPUInternalsPipelineLayout.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 vtkWebGPUInternalsPipelineLayout_h
4 #define vtkWebGPUInternalsPipelineLayout_h
5 
6 #include "vtkRenderingWebGPUModule.h"
7 #include "vtk_wgpu.h"
8 
9 #include <vector>
10 
11 VTK_ABI_NAMESPACE_BEGIN
12 class VTKRENDERINGWEBGPU_EXPORT vtkWebGPUInternalsPipelineLayout
13 {
14 public:
15  static wgpu::PipelineLayout MakeBasicPipelineLayout(
16  const wgpu::Device& device, const wgpu::BindGroupLayout* bindGroupLayout);
17 
18  static wgpu::PipelineLayout MakePipelineLayout(
19  const wgpu::Device& device, std::vector<wgpu::BindGroupLayout> bgls);
20 };
21 VTK_ABI_NAMESPACE_END
22 
23 #endif
24 // VTK-HeaderTest-Exclude: vtkWebGPUInternalsPipelineLayout.h
static wgpu::PipelineLayout MakePipelineLayout(const wgpu::Device &device, std::vector< wgpu::BindGroupLayout > bgls)
static wgpu::PipelineLayout MakeBasicPipelineLayout(const wgpu::Device &device, const wgpu::BindGroupLayout *bindGroupLayout)