5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERRENDERER_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERRENDERER_H_
8 #import <Cocoa/Cocoa.h>
13 #import "flutter/shell/platform/embedder/embedder.h"
24 @property(nonatomic, readonly, nonnull) id<MTLDevice>
device;
29 @property(nonatomic, readonly, nonnull) id<MTLCommandQueue>
commandQueue;
34 - (nullable instancetype)initWithFlutterEngine:(nonnull
FlutterEngine*)flutterEngine;
44 - (BOOL)populateTextureWithIdentifier:(int64_t)textureID
45 metalTexture:(nonnull FlutterMetalExternalTexture*)metalTexture;
49 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERRENDERER_H_