16 #ifndef vtkWebGPUSkybox_h
17 #define vtkWebGPUSkybox_h
22 #include "vtkRenderingWebGPUModule.h"
26 VTK_ABI_NAMESPACE_BEGIN
83 float CameraPosition[4];
87 float FloorTexCoordScale[2];
90 alignas(16)
float RotationMatrix[12];
93 int LastProjection = -1;
94 bool LastGammaCorrect =
false;
96 wgpu::RenderPipeline Pipeline;
97 wgpu::BindGroupLayout BindGroupLayout;
98 wgpu::BindGroup BindGroup;
99 wgpu::Buffer UniformBuffer;
100 wgpu::Buffer MatrixBuffer;
101 wgpu::BindGroupLayout MatrixBindGroupLayout;
102 wgpu::BindGroup MatrixBindGroup;
110 #define vtkWebGPUSkybox_OVERRIDE_ATTRIBUTES vtkWebGPUSkybox::CreateOverrideAttributes()
111 VTK_ABI_NAMESPACE_END
Attribute for vtkObjectFactory overrides.
virtual void Render(vtkRenderer *, vtkMapper *)
This causes the actor to be rendered.
vtkTypeUInt32 vtkMTimeType
abstract specification for renderers
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
Renders a skybox environment.
int CreatePipeline(int argc, char *argv[], vtkProp *textActor, vtkTextProperty *textProperty, bool depthPeeling)
abstract class specifies interface to map data to graphics primitives
Create a webgpu device for use in rendering and compute pipelines.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
represent and manipulate 3x3 transformation matrices