Flutter Engine
<FlutterTexture > Protocol Reference

#import <FlutterTexture.h>

Inheritance diagram for <FlutterTexture >:

Instance Methods

(CVPixelBufferRef _Nullable) - copyPixelBuffer
(void) - onTextureUnregistered:

Detailed Description

Represents a texture that can be shared with Flutter.

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

Definition at line 21 of file FlutterTexture.h.

Method Documentation

◆ copyPixelBuffer()

- (CVPixelBufferRef _Nullable FlutterTexture) copyPixelBuffer

Copy the contents of the texture into a CVPixelBuffer.

◆ onTextureUnregistered:()

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

Called when the texture is unregistered.

Called on the raster thread.

The documentation for this protocol was generated from the following file: