Interface TextureRegistry.ImageTextureEntry

    • Method Detail

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

      • acquireLatestImage

        Image acquireLatestImage()
        Retrieve the last Image pushed.

        NOTE: Caller must call Image.close() on returned image.

        Returns:
        Image or null.