Files
MapLibreParticleLab/platform/darwin/src/MLNBackendResource.h
2024-06-11 19:01:50 +02:00

18 lines
294 B
Objective-C

#if MLN_RENDER_BACKEND_METAL
#import <MetalKit/MetalKit.h>
typedef struct {
MTKView *mtkView;
id<MTLDevice> device;
MTLRenderPassDescriptor *renderPassDescriptor;
id<MTLCommandBuffer> commandBuffer;
} MLNBackendResource;
#else
typedef struct {
} MLNBackendResource;
#endif