VTK
9.4.20241222
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Rendering
WebGPU
Private
vtkWebGPUBufferInternals.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 vtkWebGPUBufferInternals_h
4
#define vtkWebGPUBufferInternals_h
5
6
#include "vtkRenderingWebGPUModule.h"
7
#include "vtk_wgpu.h"
8
9
VTK_ABI_NAMESPACE_BEGIN
10
class
VTKRENDERINGWEBGPU_NO_EXPORT
vtkWebGPUBufferInternals
11
{
12
public
:
13
// Check whether the given device can create a buffer that is sizeBytes big.
14
static
bool
CheckBufferSize
(
const
wgpu::Device& device,
unsigned
long
sizeBytes);
15
};
16
VTK_ABI_NAMESPACE_END
17
18
#endif
19
// VTK-HeaderTest-Exclude: vtkWebGPUBufferInternals.h
vtkWebGPUBufferInternals
Definition
vtkWebGPUBufferInternals.h:11
vtkWebGPUBufferInternals::CheckBufferSize
static bool CheckBufferSize(const wgpu::Device &device, unsigned long sizeBytes)
Generated on Sun Dec 22 2024 09:32:20 for VTK by
1.9.7