VTK  9.7.20260913
vtkWebGPUImplExtensions.h File Reference

Implementation-specific WebGPU structs that upstream webgpu-headers does not declare. More...

#include "vtk_wgpu.h"
Include dependency graph for vtkWebGPUImplExtensions.h:

Go to the source code of this file.

Detailed Description

Implementation-specific WebGPU structs that upstream webgpu-headers does not declare.

VTK compiles against the upstream webgpu-headers C API, which by design only covers the standard surface. Implementations extend it through nextInChain using WGPUSType values from blocks upstream reserves for them (Emscripten gets 0x0004xxxx, Dawn 0x0005xxxx). The few extensions VTK uses are declared here rather than by pulling in an implementation's own copy of webgpu.h, which would redefine the whole standard API.

Each declaration must match the implementation's layout exactly; both are plain WGPUChainedStruct extensions and have been stable across releases.

This is a private implementation header; it is not installed.

Definition in file vtkWebGPUImplExtensions.h.