#define GPU_METAL 1 #ifdef GPU_METAL #include // Obj-C imports #import #import #import #import // --- RAL types struct gpu_device { id id; }; struct gpu_swapchain { int width, height; CAMetalLayer* swapchain; }; #endif