4#ifndef vtkWebGPUComputeRenderBuffer_h
5#define vtkWebGPUComputeRenderBuffer_h
7#include "vtkRenderingWebGPUModule.h"
11VTK_ABI_NAMESPACE_BEGIN
46 void SetWebGPUBuffer(wgpu::Buffer buffer) { this->wgpuBuffer = buffer; };
47 wgpu::Buffer GetWebGPUBuffer() {
return this->wgpuBuffer; };
71 vtkGetMacro(RenderUniformsBinding, uint32_t);
72 vtkSetMacro(RenderUniformsBinding, uint32_t);
80 vtkGetMacro(RenderUniformsGroup, uint32_t);
81 vtkSetMacro(RenderUniformsGroup, uint32_t);
89 vtkGetMacro(RenderBufferOffset, uint32_t);
90 vtkSetMacro(RenderBufferOffset, uint32_t);
98 vtkGetMacro(RenderBufferElementCount, uint32_t);
99 vtkSetMacro(RenderBufferElementCount, uint32_t);
106 vtkGetMacro(AssociatedComputePass, vtkWebGPUComputePass*);
107 vtkSetMacro(AssociatedComputePass, vtkWebGPUComputePass*);
115 wgpu::Buffer wgpuBuffer =
nullptr;
128 uint32_t RenderUniformsGroup = UINT32_MAX;
129 uint32_t RenderUniformsBinding = UINT32_MAX;
134 uint32_t RenderBufferOffset = UINT32_MAX;
135 uint32_t RenderBufferElementCount = UINT32_MAX;
140 vtkWebGPUComputePass* AssociatedComputePass =
nullptr;
a simple class to control print indentation
friend class vtkWebGPUComputePassBufferStorageInternals
friend class vtkWebGPURenderer
static vtkWebGPUComputeRenderBuffer * New()
friend class vtkWebGPUComputePass
friend class vtkWebGPUPolyDataMapper
vtkWebGPUComputeRenderBuffer()
~vtkWebGPUComputeRenderBuffer() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
PointDataAttributes
All the attributes supported by the point data buffer.
CellDataAttributes
All the attributes supported by the cell data buffer.