4#ifndef vtkWebGPUPointCloudMapperInternals_h
5#define vtkWebGPUPointCloudMapperInternals_h
9#include "vtkRenderingWebGPUModule.h"
22VTK_ABI_NAMESPACE_BEGIN
79 void UpdateRenderWindowDepthBuffer(
vtkRenderer* renderer);
115 void InitializeDepthCopyPass(
vtkRenderer* renderer);
120 void InitializePointRenderPass(
vtkRenderer* renderer);
128 void UploadPointsToGPU();
137 void UploadColorsToGPU();
146 bool Initialized =
false;
161 int PointBufferIndex = -1;
164 int PointColorBufferIndex = -1;
167 int PointDepthBufferIndex = -1;
169 int CameraVPBufferIndex = -1;
171 int FrameBufferRenderTextureIndex = -1;
a simple class to control print indentation
concrete dataset represents vertices, lines, polygons, and triangle strips
abstract specification for renderers
Hold a reference to a vtkObjectBase instance.
Represents the set of parameters that will be used to create a compute shader buffer on the device wh...
A compute pass is an abstraction for offloading computation from the CPU onto the GPU using WebGPU co...
A compute pipeline is the orchestrator of a collection of compute passes.
The point cloud renderer uses WebGPU compute shaders to render the point cells of a polydata onto the...
friend class vtkWebGPUComputePointCloudMapper
~vtkWebGPUPointCloudMapperInternals() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkWebGPUPointCloudMapperInternals * New()
void SetMapper(vtkWebGPUComputePointCloudMapper *mapper)
vtkWebGPUPointCloudMapperInternals()
Structure that contains the wgpu objects necessary for the use of the render pipeline that copies the...
vtkWebGPU::Buffer FramebufferWidthUniformBuffer
vtkWebGPU::RenderPipeline Pipeline
vtkWebGPU::BindGroup BindGroup
vtkTypeUInt32 vtkMTimeType
Reference-counted ownership for WebGPU C API handles.