FlutterTexture

@protocol FlutterTexture <NSObject>
- (CVPixelBufferRef _Nullable)copyPixelBuffer;

/**
 * Called when the texture is unregistered.
 *
 * Called on the GPU thread.
 */
@optional
- (void)onTextureUnregistered:(NSObject<FlutterTexture>*)texture;
@end

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (CVPixelBufferRef _Nullable)copyPixelBuffer;
  • Undocumented

    Declaration

    Objective-C

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