Top Description Methods
com.jogamp.opengl.util.texture.spi

public Interface TextureWriter

Known Direct Implementers
com.jogamp.opengl.util.texture.spi.awt.IIOTextureWriter, com.jogamp.opengl.util.texture.TextureIO.DDSTextureWriter, com.jogamp.opengl.util.texture.TextureIO.SGITextureWriter, com.jogamp.opengl.util.texture.TextureIO.TGATextureWriter, com.jogamp.opengl.util.texture.TextureIO.PNGTextureWriter, com.jogamp.opengl.util.texture.spi.NetPbmTextureWriter
Imports
java.io.*, com.jogamp.opengl.util.texture.*

Plug-in interface to TextureIO to support writing OpenGL textures to new file formats.

Method Summary

Modifier and TypeMethod and Description
public boolean
write(File file, TextureData data)

Writes the given TextureData to the passed file.

Method Detail

writeback to summary
public boolean write(File file, 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.