VTK  9.5.20251125
vtkWebGPUComputeBufferInternals Class Reference

Internal utility class for manipulating vtkWebGPUComputeBuffers. More...

#include <vtkWebGPUComputeBufferInternals.h>

Static Public Member Functions

static void UploadFromDataArray (vtkSmartPointer< vtkWebGPUConfiguration > wgpuConfiguration, wgpu::Buffer wgpuBuffer, vtkDataArray *dataArray, const char *description=nullptr)
 Uploads a vtkDataArray to the given wgpuBuffer.
 
static void UploadFromDataArray (vtkSmartPointer< vtkWebGPUConfiguration > wgpuConfiguration, wgpu::Buffer wgpuBuffer, vtkIdType byteOffset, vtkDataArray *dataArray, const char *description=nullptr)
 Uploads a vtkDataArray with offset to the given wgpuBuffer.
 

Detailed Description

Internal utility class for manipulating vtkWebGPUComputeBuffers.

Definition at line 16 of file vtkWebGPUComputeBufferInternals.h.

Member Function Documentation

◆ UploadFromDataArray() [1/2]

static void vtkWebGPUComputeBufferInternals::UploadFromDataArray ( vtkSmartPointer< vtkWebGPUConfiguration > wgpuConfiguration,
wgpu::Buffer wgpuBuffer,
vtkDataArray * dataArray,
const char * description = nullptr )
static

Uploads a vtkDataArray to the given wgpuBuffer.

◆ UploadFromDataArray() [2/2]

static void vtkWebGPUComputeBufferInternals::UploadFromDataArray ( vtkSmartPointer< vtkWebGPUConfiguration > wgpuConfiguration,
wgpu::Buffer wgpuBuffer,
vtkIdType byteOffset,
vtkDataArray * dataArray,
const char * description = nullptr )
static

Uploads a vtkDataArray with offset to the given wgpuBuffer.


The documentation for this class was generated from the following file: