Files
MapLibreParticleLab/include/mln/shaders/webgpu/wgsl_preprocessor.hpp
Bart Louwers 2a8ebc4906 core: rename mbgl directories to mln (#4511)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-08-22 20:50:14 +02:00

17 lines
418 B
C++

#pragma once
#include <string>
#include <unordered_map>
namespace mln {
namespace webgpu {
namespace detail {
bool isDirective(const std::string& line, const std::string& directive);
std::string getDirectiveArgument(const std::string& line);
std::string preprocessWGSL(const std::string& source, const std::unordered_map<std::string, bool>& defines);
} // namespace detail
} // namespace webgpu
} // namespace mln