FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable method

int FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable(
  1. Pointer<FlutterDesktopTextureRegistrar> texture_registrar,
  2. int texture_id
)

Marks that a new texture frame is available for a given texture_id. Returns true on success or false if the specified texture doesn't exist. This function can be called from any thread.

Implementation

int FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable(
  Pointer<FlutterDesktopTextureRegistrar> texture_registrar,
  int texture_id,
) =>
    _FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable(
      texture_registrar,
      texture_id,
    );