| Modifier and Type | Field and Description |
|---|---|
| private static final boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public TextureData | newTextureData(final GLProfile
the OpenGL Profile this texture data should be
created for. glp, final File the file from which to read the texture data file, final int the OpenGL internal format to be used for
the texture, or 0 if it should be inferred
from the file's contents internalFormat, final int the OpenGL pixel format to be used for
the texture, or 0 if it should be inferred
from the file's contents pixelFormat, final boolean whether mipmaps should be produced for this
texture either by autogenerating them or
reading them from the file. Some file formats
support multiple mipmaps in a single file in
which case those mipmaps will be used rather
than generating them. mipmap, final String the file suffix to be used as a hint to the
provider to more quickly decide whether it
can handle the file, or null if the
provider should infer the type from the
file's contents fileSuffix)Implements com. |
| public TextureData | newTextureData(final GLProfile
the OpenGL Profile this texture data should be
created for. glp, final InputStream the stream from which to read the texture data stream, final int the OpenGL internal format to be used for
the texture, or 0 if it should be inferred
from the file's contents internalFormat, final int the OpenGL pixel format to be used for
the texture, or 0 if it should be inferred
from the file's contents pixelFormat, final boolean whether mipmaps should be produced for this
texture either by autogenerating them or
reading them from the file. Some file formats
support multiple mipmaps in a single file in
which case those mipmaps will be used rather
than generating them. mipmap, final String the file suffix to be used as a hint to the
provider to more quickly decide whether it
can handle the file, or null if the
provider should infer the type from the
file's contents fileSuffix)Implements com. |
| public TextureData | newTextureData(final GLProfile
the OpenGL Profile this texture data should be
created for. glp, final URL the URL from which to read the texture data url, final int the OpenGL internal format to be used for
the texture, or 0 if it should be inferred
from the file's contents internalFormat, final int the OpenGL pixel format to be used for
the texture, or 0 if it should be inferred
from the file's contents pixelFormat, final boolean whether mipmaps should be produced for this
texture either by autogenerating them or
reading them from the file. Some file formats
support multiple mipmaps in a single file in
which case those mipmaps will be used rather
than generating them. mipmap, final String the file suffix to be used as a hint to the
provider to more quickly decide whether it
can handle the file, or null if the
provider should infer the type from the
file's contents fileSuffix)Implements com. |
| DEBUG | back to summary |
|---|---|
| private static final boolean DEBUG | |
| IIOTextureProvider | back to summary |
|---|---|
| public IIOTextureProvider() | |
| newTextureData | back to summary |
|---|---|
| public TextureData newTextureData(final GLProfile glp, final File file, final int internalFormat, final int pixelFormat, final boolean mipmap, final String fileSuffix) throws IOException Implements com. Doc from com. Produces a TextureData object from a file, or returns null if the file format was not supported by this TextureProvider. Does not do any OpenGL-related work. The resulting TextureData can be converted into an OpenGL texture in a later step.
| |
| newTextureData | back to summary |
|---|---|
| public TextureData newTextureData(final GLProfile glp, final InputStream stream, final int internalFormat, final int pixelFormat, final boolean mipmap, final String fileSuffix) throws IOException Implements com. Doc from com. Produces a TextureData object from a stream, or returns null if the file format was not supported by this TextureProvider. Does not do any OpenGL-related work. The resulting TextureData can be converted into an OpenGL texture in a later step.
| |
| newTextureData | back to summary |
|---|---|
| public TextureData newTextureData(final GLProfile glp, final URL url, final int internalFormat, final int pixelFormat, final boolean mipmap, final String fileSuffix) throws IOException Implements com. Doc from com. Produces a TextureData object from a URL, or returns null if the file format was not supported by this TextureProvider. Does not do any OpenGL-related work. The resulting TextureData can be converted into an OpenGL texture in a later step.
| |