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
    void
    Next paint will update texture to use the contents of image.

    Methods inherited from interface io.flutter.view.TextureRegistry.TextureEntry

    id, release
  • Method Details

    • 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).