#import <FlutterTexture.h>
Instance Methods | |
(CVPixelBufferRef _Nullable) | - copyPixelBuffer |
(void) | - onTextureUnregistered: |
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.
- (CVPixelBufferRef _Nullable) copyPixelBuffer |
Copy the contents of the texture into a CVPixelBuffer
.
|
optional |
Called when the texture is unregistered.
Called on the raster thread.