VTK  9.4.20241112
vtkWebGPUProperty.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
11#ifndef vtkWebGPUProperty_h
12#define vtkWebGPUProperty_h
13
14#include "vtkProperty.h"
15
16#include "vtkRenderingWebGPUModule.h" // For export macro
17
18VTK_ABI_NAMESPACE_BEGIN
19class VTKRENDERINGWEBGPU_EXPORT vtkWebGPUProperty : public vtkProperty
20{
21public:
24 void PrintSelf(ostream& os, vtkIndent indent) override;
25
29 void Render(vtkActor* a, vtkRenderer* renderer) override;
30
34 void BackfaceRender(vtkActor* a, vtkRenderer* renderer) override;
35
41 void PostRender(vtkActor* a, vtkRenderer* r) override;
42
49
50protected:
53
58 bool RenderTextures(vtkActor* actor, vtkRenderer* renderer);
59
60private:
61 vtkWebGPUProperty(const vtkWebGPUProperty&) = delete;
62 void operator=(const vtkWebGPUProperty&) = delete;
63};
64
65VTK_ABI_NAMESPACE_END
66#endif
represents an object (geometry & properties) in a rendered scene
Definition vtkActor.h:151
a simple class to control print indentation
Definition vtkIndent.h:108
represent surface properties of a geometric object
abstract specification for renderers
WebGPU property.
void PostRender(vtkActor *a, vtkRenderer *r) override
This method is called after the actor has been rendered.
void ReleaseGraphicsResources(vtkWindow *win) override
Release any graphics resources that are being consumed by this property.
~vtkWebGPUProperty() override
void BackfaceRender(vtkActor *a, vtkRenderer *renderer) override
Implement base class method.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkWebGPUProperty * New()
bool RenderTextures(vtkActor *actor, vtkRenderer *renderer)
Method called in vtkWebGPUProperty::Render() to render textures.
void Render(vtkActor *a, vtkRenderer *renderer) override
Implement base class method.
window superclass for vtkRenderWindow
Definition vtkWindow.h:48