JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.util.texture.spi.TextureWriter Interface Reference

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

Inheritance diagram for com.jogamp.opengl.util.texture.spi.TextureWriter:
Collaboration diagram for com.jogamp.opengl.util.texture.spi.TextureWriter:

Public Member Functions

boolean write (File file, TextureData data) throws IOException
 Writes the given TextureData to the passed file. More...
 

Detailed Description

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

Definition at line 49 of file TextureWriter.java.

Member Function Documentation

◆ write()

boolean com.jogamp.opengl.util.texture.spi.TextureWriter.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.

Implemented in com.jogamp.opengl.util.texture.spi.awt.IIOTextureWriter, and com.jogamp.opengl.util.texture.spi.NetPbmTextureWriter.

Here is the caller graph for this function:

The documentation for this interface was generated from the following file: