// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_FLUTTERTEXTURE_H_ #define FLUTTER_FLUTTERTEXTURE_H_ #import #import #include "FlutterMacros.h" NS_ASSUME_NONNULL_BEGIN FLUTTER_EXPORT @protocol FlutterTexture - (CVPixelBufferRef _Nullable)copyPixelBuffer; @end FLUTTER_EXPORT @protocol FlutterTextureRegistry - (int64_t)registerTexture:(NSObject*)texture; - (void)textureFrameAvailable:(int64_t)textureId; - (void)unregisterTexture:(int64_t)textureId; @end NS_ASSUME_NONNULL_END #endif // FLUTTER_FLUTTERTEXTURE_H_