VTK  9.3.0
vtkWebGPUClearPass.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 vtkWebGPUClearPass_h
4 #define vtkWebGPUClearPass_h
5 
6 #include "vtkWebGPURenderPass.h"
7 
8 #include "vtkRenderingWebGPUModule.h" // for export macro
9 
10 VTK_ABI_NAMESPACE_BEGIN
11 class VTKRENDERINGWEBGPU_EXPORT vtkWebGPUClearPass : public vtkWebGPURenderPass
12 {
13 public:
16  void PrintSelf(ostream& os, vtkIndent indent) override;
17 
18  void Render(const vtkRenderState* state) override;
19 
20  wgpu::RenderPassEncoder Begin(const vtkRenderState* state) override;
21 
22 protected:
24  ~vtkWebGPUClearPass() override;
25 
26 private:
27  vtkWebGPUClearPass(const vtkWebGPUClearPass&) = delete;
28  void operator=(const vtkWebGPUClearPass&) = delete;
29 };
30 
31 VTK_ABI_NAMESPACE_END
32 #endif
a simple class to control print indentation
Definition: vtkIndent.h:29
Context in which a vtkRenderPass will render.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Render(const vtkRenderState *state) override
Perform rendering according to a render state s.
wgpu::RenderPassEncoder Begin(const vtkRenderState *state) override
static vtkWebGPUClearPass * New()
~vtkWebGPUClearPass() override