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
7
8#include "vtkRenderingWebGPUModule.h" // for export macro
9
10VTK_ABI_NAMESPACE_BEGIN
11class VTKRENDERINGWEBGPU_EXPORT vtkWebGPUClearPass : public vtkWebGPURenderPass
12{
13public:
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
22protected:
25
26private:
28 void operator=(const vtkWebGPUClearPass&) = delete;
29};
30
31VTK_ABI_NAMESPACE_END
32#endif
a simple class to control print indentation
Definition vtkIndent.h:29
Context in which a vtkRenderPass will render.
static vtkWebGPUClearPass * New()
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
~vtkWebGPUClearPass() override