5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERMETALLAYER_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERMETALLAYER_H_
8 #import <QuartzCore/QuartzCore.h>
17 @property(nullable, retain) id<MTLDevice>
device;
18 @property(nullable, readonly)
19 id<MTLDevice> preferredDevice
API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0))
20 API_UNAVAILABLE(watchos);
35 @protocol MTLCommandBuffer;
43 - (void)flutterPrepareForPresent:(nonnull
id<MTLCommandBuffer>)commandBuffer;
47 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERMETALLAYER_H_