File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,8 @@ FLUTTER_EXPORT
38
38
@protocol FlutterTextureRegistry <NSObject >
39
39
/* *
40
40
* Registers a `FlutterTexture` for usage in Flutter and returns an id that can be used to reference
41
- * that texture when calling into Flutter with channels.
41
+ * that texture when calling into Flutter with channels. Textures must be registered on the
42
+ * platform thread.
42
43
*/
43
44
- (int64_t )registerTexture : (NSObject <FlutterTexture>*)texture ;
44
45
/* *
@@ -48,7 +49,8 @@ FLUTTER_EXPORT
48
49
*/
49
50
- (void )textureFrameAvailable : (int64_t )textureId ;
50
51
/* *
51
- * Unregisters a `FlutterTexture` that has previously regeistered with `registerTexture:`.
52
+ * Unregisters a `FlutterTexture` that has previously regeistered with `registerTexture:`. Textures
53
+ * must be unregistered on the the platform thread.
52
54
*
53
55
* @param textureId The result that was previously returned from `registerTexture:`.
54
56
*/
You can’t perform that action at this time.
0 commit comments