com.io7m.jcanephora.texture_loader.core

## Interface JCGLTLTextureDataProviderType

- All Known Implementing Classes:
    JCGLAWTTextureDataProvider

      @ThreadSafe
      public interface JCGLTLTextureDataProviderType

  The type of texture data providers.

  A texture data provider synchronously loads images from streams.

  Implementations are required to be thread-safe in the sense that they must be able to accept loading requests from arbitrary threads.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `JCGLTLTextureDataType` | `loadFromStream(InputStream is)` Load an image from the given stream.

- - ### Method Detail

    - #### loadFromStream

          JCGLTLTextureDataType loadFromStream(InputStream is)
                                        throws IOException

      Load an image from the given stream.
      Parameters:
        `is` - The stream
      Returns:
        Texture data
      Throws:
        `IOException` - On I/O or decoding errors

Copyright © 2016 <code@io7m.com> http://io7m.com