Files
MapLibreParticleLab/include/mbgl/shaders/webgpu/wgsl_preprocessor.hpp
Bart Louwers 550f64be22 core: rename mbgl namespace to mln (#4487)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-08-14 23:25:20 +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