Files
MapLibreParticleLab/include/mln/shaders/mtl/shader_program_mtl.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

28 lines
859 B
C++

#pragma once
#include <mln/shaders/shader_program_base.hpp>
namespace mln {
namespace mtl {
class ShaderProgramMTL : public gfx::ShaderProgramBase {
public:
ShaderProgramMTL()
: ShaderProgramBase() {}
~ShaderProgramMTL() noexcept override = default;
static constexpr std::string_view Name{"GenericMTLShader"};
const std::string_view typeName() const noexcept override { return Name; }
// bool compile(std::string_view vert, std::string_view frag);
// Load compiled Metal functions from the default library in a bundle
// bool load(NSBundle*, std::string_view vertFuncName, std::string_view fragFuncName);
// Load compiled Metal functions from a specific library
// bool load(id<MTLLibrary>, std::string_view vertFuncName, std::string_view fragFuncName);
protected:
};
} // namespace mtl
} // namespace mln