// // Created by Vicente Ferrari Smith on 26.02.26. // #ifndef V_METAL_H #define V_METAL_H #include #define GLFW_EXPOSE_NATIVE_COCOA #import #include #include #include struct Device { MTL::Device *device; }; struct PlatformTexture { MTL::Texture *texture; }; struct Queue { MTL::CommandQueue *queue; }; void load_metal_shader(const std::string &shader_path, const std::string &vertex_fn_name, const std::string &fragment_fn_name, MTL::Function **vertex_shader, MTL::Function **fragment_shader); #endif //V_METAL_H