3 #ifndef vtkWebGPUActor_h
4 #define vtkWebGPUActor_h
9 #include "vtkRenderingWebGPUModule.h"
14 VTK_ABI_NAMESPACE_BEGIN
65 friend class vtkWebGPUGlyph3DMapperHelper;
70 std::unique_ptr<vtkWebGPUActorInternals> Internals;
78 bool SupportRenderBundles();
79 void SetId(vtkTypeUInt32
id);
81 bool UpdateKeyMatrices();
83 const void* GetCachedActorInformation();
84 static std::size_t GetCacheSizeBytes();
86 bool CacheActorTransforms();
87 bool CacheActorRenderOptions();
88 bool CacheActorShadeOptions();
91 bool NeedToRecreateBindGroups();
95 #define vtkWebGPUActor_OVERRIDE_ATTRIBUTES vtkWebGPUActor::CreateOverrideAttributes()
abstract superclass for all actors, volumes and annotations
Attribute for vtkObjectFactory overrides.
virtual void Render(vtkRenderer *, vtkMapper *)
This causes the actor to be rendered.
represents an object (geometry & properties) in a rendered scene
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ShallowCopy(vtkProp *prop) override
Shallow copy of an actor.
abstract specification for renderers
static vtkActor * New()
Creates an actor with the following defaults: origin(0,0,0) position=(0,0,0) scale=(1,1,1) visibility=1 pickable=1 dragable=1 orientation=(0,0,0).
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
window superclass for vtkRenderWindow
a simple class to control print indentation
abstract class specifies interface to map data to graphics primitives
vtkTypeBool HasTranslucentPolygonalGeometry() override
Does this prop have some opaque/translucent polygonal geometry?
Create a webgpu device for use in rendering and compute pipelines.
vtkTypeBool HasOpaqueGeometry() override
Does this prop have some opaque/translucent polygonal geometry?
represent and manipulate 3x3 transformation matrices
Class to create and retrieve render pipelines based on a given key.