#include <vtkWebGPUInternalsBuffer.h>
|
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) |
|
Definition at line 10 of file vtkWebGPUInternalsBuffer.h.
◆ 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: