Package io.flutter.view

## Interface TextureRegistry

- All Known Implementing Classes:
    `FlutterRenderer`, `FlutterView`

      public interface TextureRegistry

  Registry of backend textures used with a single `FlutterView` instance. Entries may be embedded into the Flutter view using the Texture widget.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface | Description
    --- | --- | ---
    `static interface` | `TextureRegistry.OnFrameConsumedListener` | Listener invoked when the most recent image has been consumed.
    `static interface` | `TextureRegistry.SurfaceTextureEntry` | A registry entry for a managed SurfaceTexture.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `TextureRegistry.SurfaceTextureEntry` | `createSurfaceTexture()` | Creates and registers a SurfaceTexture managed by the Flutter engine.
    `TextureRegistry.SurfaceTextureEntry` | `registerSurfaceTexture​(SurfaceTexture surfaceTexture)` | Registers a SurfaceTexture managed by the Flutter engine.

- - ### Method Detail

    - #### createSurfaceTexture

          @NonNull
          TextureRegistry.SurfaceTextureEntry createSurfaceTexture()

      Creates and registers a SurfaceTexture managed by the Flutter engine.
      Returns:
        A SurfaceTextureEntry.

    - #### registerSurfaceTexture

          @NonNull
          TextureRegistry.SurfaceTextureEntry registerSurfaceTexture​(@NonNull
                                                                     SurfaceTexture surfaceTexture)

      Registers a SurfaceTexture managed by the Flutter engine.
      Returns:
        A SurfaceTextureEntry.