Files
MapLibreParticleLab/src/mbgl/webgpu/webgpu_cpp_impl.cpp
2026-05-03 13:04:31 +02:00

13 lines
391 B
C++

// Implementation file for WebGPU-Cpp wrapper
// This file must be compiled exactly once to provide implementations
// for the WebGPU C++ wrapper functions
#define WEBGPU_CPP_IMPLEMENTATION
// TODO: remove this workaround as soon as https://github.com/eliemichel/WebGPU-Cpp/issues/35 is fixed
#ifndef _NULLABLE
#define _NULLABLE WGPU_NULLABLE
#endif
#include <webgpu.hpp>
#undef _NULLABLE