VTK  9.6.2
vtkWebGPUComputePassTextureStorageInternals.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
4#ifndef vtkWebGPUComputePassTextureStorageInternals_h
5#define vtkWebGPUComputePassTextureStorageInternals_h
6
7#include "vtkObject.h"
8#include "vtkSmartPointer.h" // for smart pointers
9#include "vtkWeakPointer.h" // for the weak pointer of the parent compute pass
10#include "vtkWebGPUComputePass.h" // for enum
11#include "vtkWebGPUComputeRenderTexture.h" // for compute render textures
12#include "vtkWebGPUComputeTexture.h" // for compute textures
13#include "vtkWebGPUComputeTextureView.h" // for compute texture views
14#include "vtkWebGPUConfiguration.h" // for ivar
15#include "vtk_wgpu.h" // for webgpu
16
17#include <cstddef>
18#include <unordered_map>
19#include <unordered_set>
20
21VTK_ABI_NAMESPACE_BEGIN
22
24
32{
33public:
36
43 vtkSetSmartPointerMacro(ParentPassWGPUConfiguration, vtkWebGPUConfiguration);
44
49
57 bool CheckTextureIndex(std::size_t textureIndex, const std::string& callerFunctionName);
58
67 bool CheckTextureViewIndex(std::size_t textureViewIndex, const std::string& callerFunctionName);
68
73
78