VTK  9.7.20261114
vtkWebGPUMipmapGenerator.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
7
8#ifndef vtkWebGPUMipmapGenerator_h
9#define vtkWebGPUMipmapGenerator_h
10
11#include "vtkABINamespace.h" // for VTK_ABI_NAMESPACE_BEGIN
12#include "vtk_wgpu.h" // for the WebGPU C API
13
14#include <cstdint> // for std::uint32_t
15
16VTK_ABI_NAMESPACE_BEGIN
18
20{
21public:
22 static void Generate(vtkWebGPUConfiguration* configuration, WGPUTexture texture,
23 WGPUTextureFormat format, std::uint32_t mipLevelCount, std::uint32_t layerCount);
24};
25
26VTK_ABI_NAMESPACE_END
27#endif
28// VTK-HeaderTest-Exclude: vtkWebGPUMipmapGenerator.h
Create a webgpu device for use in rendering and compute pipelines.
Fills the mip chain of a WebGPU texture from its first level.
static void Generate(vtkWebGPUConfiguration *configuration, WGPUTexture texture, WGPUTextureFormat format, std::uint32_t mipLevelCount, std::uint32_t layerCount)