@protocol FlutterTextureRegistry <NSObject>
A collection of registered
FlutterTexturefor usage in Flutter and returns an id that can be used to reference that texture when calling into Flutter with channels. Textures must be registered on the platform thread. On success returns the pointer to the registered texture, else returns 0.
- (int64_t)registerTexture:(nonnull NSObject<FlutterTexture> *)texture;
Notifies Flutter that the content of the previously registered texture has been updated.
This will trigger a call to
-[FlutterTexture copyPixelBuffer]on the raster thread.
FlutterTexturethat has previously regeistered with
registerTexture:. Textures must be unregistered on the the platform thread.
The result that was previously returned from