22 lines
367 B
Objective-C
22 lines
367 B
Objective-C
//
|
|
// Created by Vicente Ferrari Smith on 26.02.26.
|
|
//
|
|
|
|
#ifndef M_INIT_H
|
|
#define M_INIT_H
|
|
|
|
#include <GLFW/glfw3.h>
|
|
#define GLFW_EXPOSE_NATIVE_COCOA
|
|
#import <GLFW/glfw3native.h>
|
|
|
|
#include <Metal/Metal.hpp>
|
|
#include <QuartzCore/CAMetalLayer.hpp>
|
|
#include <QuartzCore/QuartzCore.hpp>
|
|
|
|
struct Device {
|
|
MTL::Device *device;
|
|
};
|
|
|
|
void create_device();
|
|
|
|
#endif //M_INIT_H |