FlutterTexture

@protocol FlutterTexture <NSObject>

Represents a texture that can be shared with Flutter.

See also: https://github.com/flutter/plugins/tree/master/packages/camera

  • Copy the contents of the texture into a CVPixelBuffer.

    Declaration

    Objective-C

    - (CVPixelBufferRef _Nullable)copyPixelBuffer;
  • Undocumented

    Declaration

    Objective-C

    - (void)onTextureUnregistered:(NSObject<FlutterTexture>*)texture;