18 lines
294 B
Objective-C
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
|