Masterarbeit Richard Stern. Flutter App, sich mit einem Bluetooth-Gerät verbindet und Berührungen auf einem Sensor visualisiert.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

FlutterTexture.h 742B

1234567891011121314151617181920212223242526272829
  1. // Copyright 2013 The Flutter Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef FLUTTER_FLUTTERTEXTURE_H_
  5. #define FLUTTER_FLUTTERTEXTURE_H_
  6. #import <CoreMedia/CoreMedia.h>
  7. #import <Foundation/Foundation.h>
  8. #include "FlutterMacros.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. FLUTTER_EXPORT
  11. @protocol FlutterTexture <NSObject>
  12. - (CVPixelBufferRef _Nullable)copyPixelBuffer;
  13. @end
  14. FLUTTER_EXPORT
  15. @protocol FlutterTextureRegistry <NSObject>
  16. - (int64_t)registerTexture:(NSObject<FlutterTexture>*)texture;
  17. - (void)textureFrameAvailable:(int64_t)textureId;
  18. - (void)unregisterTexture:(int64_t)textureId;
  19. @end
  20. NS_ASSUME_NONNULL_END
  21. #endif // FLUTTER_FLUTTERTEXTURE_H_