| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| public static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | 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 |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public String | |
| public boolean | write(final File file, final TextureData data)
Implements com. |
| private boolean |
| magic | back to summary |
|---|---|
| pack-priv int magic | |
| PAM | back to summary |
|---|---|
public static final String PAM
| |
| PPM | back to summary |
|---|---|
public static final String PPM
| |
| NetPbmTextureWriter | back to summary |
|---|---|
| public NetPbmTextureWriter() | |
| NetPbmTextureWriter | back to summary |
|---|---|
| public 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 | |
| getMagic | back to summary |
|---|---|
| public int getMagic() | |
| getSuffix | back to summary |
|---|---|
| public String getSuffix() | |
| write | back to summary |
|---|---|
| public boolean write(final File file, final TextureData data) throws IOException Implements com. Doc from com. 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.
| |
| writeImpl | back to summary |
|---|---|
| private boolean writeImpl(final File file, final TextureData data) throws IOException | |