Package io.flutter.view

# Interface TextureRegistry.ImageTextureEntry

All Superinterfaces:
  `TextureRegistry.TextureEntry`

Enclosing interface:
  TextureRegistry

public static interface TextureRegistry.ImageTextureEntry extends TextureRegistry.TextureEntry

- ## Method Summary

  Modifier and Type
  Method
  Description
  `long`
  `id()`
  `void`
  `pushImage(Image image)`
  Next paint will update texture to use the contents of image.
  `void`
  `release()`
  Deregisters and releases all resources.

- ## Method Details

  - ### id

    long id()
    Specified by:
      `id` in interface `TextureRegistry.TextureEntry`
    Returns:
      the identity of this ImageTextureEntry

  - ### release

    void release()
    Deregisters and releases all resources.
    Specified by:
      `release` in interface `TextureRegistry.TextureEntry`

  - ### pushImage

    void pushImage(Image image)
    Next paint will update texture to use the contents of image.

    NOTE: Caller should not call Image.close() on the pushed image.

    NOTE: In the case that multiple calls to PushFrame occur before the next paint only the last frame pushed will be used (dropping the missed frames).