Files
MapLibreParticleLab/platform/darwin/src/MLNBackendResource.h
2024-02-15 18:43:40 +02:00

20 lines
296 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