public interface ITextureCubemap extends ITextureUnit
| Modifier and Type | Method and Description |
|---|---|
void |
load(CubeFaceData<TextureData> data)
Load texture content from specified
TextureData |
void |
load(CubeFace face,
TextureData data)
Load the data into specified face
|
void |
loadFromFiles(CubeFaceData<java.lang.String> fileNames)
Load texture content from specified files
|
void |
save(CubeFace side,
java.awt.image.BufferedImage bitmap)
Save the specified side to memory
|
void |
save(CubeFaceData<java.awt.image.BufferedImage> bitmap)
Save the texture content to memory.
|
void |
save(CubeFaceData<java.lang.String> path,
java.lang.String format)
Save the cube's sides texture content to external files.
|
java.awt.image.BufferedImage |
toBitmap(CubeFace side)
Convert the texture unit to
BufferedImage instance |
getDepth, getHeight, getMagnification, getMinification, getMipmap, getScale, getScroll, getType, getUWrap, getVWrap, getWidth, getWWrap, setMagnification, setMinification, setMipmap, setScale, setScroll, setUWrap, setVWrap, setWWrapvoid load(CubeFaceData<TextureData> data)
TextureDatadata - void load(CubeFace face, TextureData data)
face - data - void loadFromFiles(CubeFaceData<java.lang.String> fileNames) throws java.io.IOException
fileNames - java.io.IOExceptionvoid save(CubeFaceData<java.lang.String> path, java.lang.String format) throws java.io.IOException
path - File names to save.format - Image formatjava.io.IOExceptionvoid save(CubeFaceData<java.awt.image.BufferedImage> bitmap)
bitmap - Result bitmap to save.void save(CubeFace side, java.awt.image.BufferedImage bitmap)
side - bitmap - java.awt.image.BufferedImage toBitmap(CubeFace side)
BufferedImage instance