4 #ifndef vtkWebGPUTextureInternals_h
5 #define vtkWebGPUTextureInternals_h
8 #include "vtkRenderingWebGPUModule.h"
12 VTK_ABI_NAMESPACE_BEGIN
22 wgpu::Texture texture, std::uint32_t bytesPerRow, std::uint32_t byteSize,
const void*
data,
30 wgpu::Texture texture, std::uint32_t bytesPerRow,
vtkDataArray* dataArray,
36 static wgpu::TexelCopyTextureInfo GetTexelCopyTextureInfo(
37 wgpu::Texture texture, wgpu::Origin3D origin = { 0, 0, 0 }, std::uint32_t mipLevel = 0);
43 static wgpu::TexelCopyBufferLayout GetDataLayout(
44 wgpu::Texture texture, std::uint32_t bytesPerRow, std::uint32_t srcOffset = 0);
abstract superclass for arrays of numeric data