VTK  9.7.1
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