metal clear swapchain with blue

This commit is contained in:
2025-06-29 22:40:43 +03:00
parent b8e78174ad
commit 99eafb9443
13 changed files with 343 additions and 136 deletions

12
engine/ml_video.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef ML_VIDEO_H
#define ML_VIDEO_H
#include "Metal/Metal.hpp"
#include "QuartzCore/QuartzCore.hpp"
extern CA::MetalLayer *g_mlLayer;
extern MTL::Device *g_mlDevice;
extern MTL::CommandQueue *g_mlCommandQueue;
extern NS::AutoreleasePool *g_mlPool;
#endif