#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.
The type of the pixel buffer is one of the following:
kCVPixelFormatType_32BGRAkCVPixelFormatType_420YpCbCr8BiPlanarVideoRangekCVPixelFormatType_420YpCbCr8BiPlanarFullRange
|
optional |
Called when the texture is unregistered.
Called on the raster thread.