Package com.jme3.texture.plugins.ktx
Class KTXWriter
java.lang.Object
com.jme3.texture.plugins.ktx.KTXWriter
This class allows one to write a KTX file.
 It doesn't support compressed data yet.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidWrites an image with the given params textureType, allows one to write textureArrays, Texture3D, and TextureCubeMaps.voidWrites a 2D image from the given image in a KTX file named from the fileName param Note that the fileName should contain the extension (.ktx sounds like a wise choice)
- 
Constructor Details- 
KTXWriterCreates a KTXWriter that will write files in the given path- Parameters:
- path- the desired filesystem path (alias created)
 
 
- 
- 
Method Details- 
writeWrites a 2D image from the given image in a KTX file named from the fileName param Note that the fileName should contain the extension (.ktx sounds like a wise choice)- Parameters:
- image- the image to write
- fileName- the name of the file to write
 
- 
writeWrites an image with the given params textureType, allows one to write textureArrays, Texture3D, and TextureCubeMaps. Texture2D will write a 2D image. Note that the fileName should contain the extension (.ktx sounds like a wise choice)- Parameters:
- image- the image to write
- textureType- the texture type
- fileName- the name of the file to write
 
 
-