VTK  9.3.0
vtkWebGPUInternalsBuffer Class Reference

#include <vtkWebGPUInternalsBuffer.h>

Static Public Member Functions

static wgpu::Buffer Upload (const wgpu::Device &device, unsigned long offset, void *data, unsigned long sizeBytes, wgpu::BufferUsage usage, const char *label=nullptr)
 
static wgpu::Buffer CreateABuffer (const wgpu::Device &device, unsigned long sizeBytes, wgpu::BufferUsage usage, bool mappedAtCreation=false, const char *label=nullptr)
 

Detailed Description

Definition at line 10 of file vtkWebGPUInternalsBuffer.h.

Member Function Documentation

◆ Upload()

static wgpu::Buffer vtkWebGPUInternalsBuffer::Upload ( const wgpu::Device & device,
unsigned long offset,
void * data,
unsigned long sizeBytes,
wgpu::BufferUsage usage,
const char * label = nullptr )
static

◆ CreateABuffer()

static wgpu::Buffer vtkWebGPUInternalsBuffer::CreateABuffer ( const wgpu::Device & device,
unsigned long sizeBytes,
wgpu::BufferUsage usage,
bool mappedAtCreation = false,
const char * label = nullptr )
static

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