|
JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java (public API).
|
Public Member Functions | |
| NetPbmTextureWriter () | |
| NetPbmTextureWriter (final int magic) | |
| supported magic values are: More... | |
| int | getMagic () |
| String | getSuffix () |
| boolean | write (final File file, final TextureData data) throws IOException |
| Writes the given TextureData to the passed file. More... | |
| boolean | write (File file, TextureData data) throws IOException |
| Writes the given TextureData to the passed file. More... | |
Static Public Attributes | |
| static final String | PPM = TextureIO.PPM |
| static final String | PAM = TextureIO.PAM |
Definition at line 50 of file NetPbmTextureWriter.java.
| com.jogamp.opengl.util.texture.spi.NetPbmTextureWriter.NetPbmTextureWriter | ( | ) |
Definition at line 53 of file NetPbmTextureWriter.java.
| com.jogamp.opengl.util.texture.spi.NetPbmTextureWriter.NetPbmTextureWriter | ( | final int | magic | ) |
supported magic values are:
magic 0 - detect by file suffix (TextureIO compliant) magic 6 - PPM binary RGB magic 7 - PAM binary RGB or RGBA
Definition at line 65 of file NetPbmTextureWriter.java.
| int com.jogamp.opengl.util.texture.spi.NetPbmTextureWriter.getMagic | ( | ) |
Definition at line 77 of file NetPbmTextureWriter.java.
| String com.jogamp.opengl.util.texture.spi.NetPbmTextureWriter.getSuffix | ( | ) |
Definition at line 84 of file NetPbmTextureWriter.java.
| boolean com.jogamp.opengl.util.texture.spi.NetPbmTextureWriter.write | ( | final File | file, |
| final TextureData | data | ||
| ) | throws IOException |
Writes the given TextureData to the passed file.
Returns true if this TextureWriter successfully handled the writing of the file, otherwise false. May throw IOException if either this writer did not support certain parameters of the TextureData or if an I/O error occurred.
Implements com.jogamp.opengl.util.texture.spi.TextureWriter.
Definition at line 87 of file NetPbmTextureWriter.java.
|
static |
Definition at line 82 of file NetPbmTextureWriter.java.
|
static |
Definition at line 80 of file NetPbmTextureWriter.java.