FlutterDesktopTextureRegistrarUnregisterExternalTexture method

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

Unregisters an existing texture from the Flutter engine for a texture_id. Returns true on success or false if the specified texture doesn't exist. This function can be called from any thread. However, textures must not be unregistered while they're in use.

Implementation

int FlutterDesktopTextureRegistrarUnregisterExternalTexture(
  Pointer<FlutterDesktopTextureRegistrar> texture_registrar,
  int texture_id,
) =>
    _FlutterDesktopTextureRegistrarUnregisterExternalTexture(
      texture_registrar,
      texture_id,
    );