Interface TextureRegistry.ImageConsumer

Enclosing interface:
TextureRegistry

public static interface TextureRegistry.ImageConsumer
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieve the last Image produced.
  • Method Details

    • acquireLatestImage

      @Nullable Image acquireLatestImage()
      Retrieve the last Image produced. Drops all previously produced images.

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

      Returns:
      Image or null.