VTK
9.3.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Rendering
WebGPU
vtkWebGPUInternalsBuffer.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-License-Identifier: BSD-3-Clause
3
#ifndef vtkWebGPUInternalsBuffer_h
4
#define vtkWebGPUInternalsBuffer_h
5
6
#include "vtkRenderingWebGPUModule.h"
7
#include "
vtk_wgpu.h
"
8
9
VTK_ABI_NAMESPACE_BEGIN
10
class
VTKRENDERINGWEBGPU_EXPORT
vtkWebGPUInternalsBuffer
11
{
12
public
:
13
static
wgpu::Buffer Upload(
const
wgpu::Device& device,
unsigned
long
offset
,
void
*
data
,
14
unsigned
long
sizeBytes, wgpu::BufferUsage usage,
const
char
* label =
nullptr
);
15
16
static
wgpu::Buffer CreateABuffer(
const
wgpu::Device& device,
unsigned
long
sizeBytes,
17
wgpu::BufferUsage usage,
bool
mappedAtCreation =
false
,
const
char
* label =
nullptr
);
18
};
19
VTK_ABI_NAMESPACE_END
20
21
#endif
22
// VTK-HeaderTest-Exclude: vtkWebGPUInternalsBuffer.h
vtkX3D::data
Definition:
vtkX3D.h:315
vtkX3D::offset
Definition:
vtkX3D.h:438
vtkWebGPUInternalsBuffer
Definition:
vtkWebGPUInternalsBuffer.h:10
vtk_wgpu.h
Generated on Sun Mar 23 2025 01:24:39 for VTK by
1.8.10