Package com.aspose.threed
Interface ITextureCubemap
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
,ITextureUnit
public interface ITextureCubemap extends ITextureUnit
Cube map texture
-
-
Method Summary
Modifier and Type Method Description void
load(CubeFaceData<TextureData> data)
Load texture content from specifiedTextureData
void
load(CubeFace face, TextureData data)
Load the data into specified facevoid
load2(CubeFaceData<java.lang.String> fileNames)
Load texture content from specified filesvoid
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.void
save(CubeFace side, java.awt.image.BufferedImage bitmap)
Save the specified side to memoryjava.awt.image.BufferedImage
toBitmap(CubeFace side)
Convert the texture unit toBufferedImage
instance-
Methods inherited from interface com.aspose.threed.ITextureUnit
getDepth, getHeight, getMagnification, getMinification, getMipmap, getScale, getScroll, getType, getUWrap, getVWrap, getWidth, getWWrap, setMagnification, setMinification, setMipmap, setScale, setScroll, setUWrap, setVWrap, setWWrap
-
-
-
-
Method Detail
-
load
void load(CubeFaceData<TextureData> data)
Load texture content from specifiedTextureData
- Parameters:
data
-
-
load
void load(CubeFace face, TextureData data)
Load the data into specified face- Parameters:
face
-data
-
-
save
void save(CubeFaceData<java.lang.String> path, java.lang.String format) throws java.io.IOException
Save the cube's sides texture content to external files.- Parameters:
path
- File names to save.format
- Image format- Throws:
java.io.IOException
-
save
void save(CubeFaceData<java.awt.image.BufferedImage> bitmap)
Save the texture content to memory.- Parameters:
bitmap
- Result bitmap to save.
-
save
void save(CubeFace side, java.awt.image.BufferedImage bitmap)
Save the specified side to memory- Parameters:
side
-bitmap
-
-
toBitmap
java.awt.image.BufferedImage toBitmap(CubeFace side)
Convert the texture unit toBufferedImage
instance
-
load2
void load2(CubeFaceData<java.lang.String> fileNames) throws java.io.IOException
Load texture content from specified files- Parameters:
fileNames
-- Throws:
java.io.IOException
-
-