Package com.aspose.threed
Interface ITexture1D
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
,ITextureUnit
public interface ITexture1D extends ITextureUnit
1D texture
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
load(TextureData bitmap)
Load texture content from specified Bitmapvoid
save(java.awt.image.BufferedImage bitmap)
Save the texture content to external file.void
save(java.lang.String path, java.lang.String format)
Save the texture content to external file.java.awt.image.BufferedImage
toBitmap()
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(TextureData bitmap)
Load texture content from specified Bitmap- Parameters:
bitmap
-
-
save
void save(java.lang.String path, java.lang.String format) throws java.io.IOException
Save the texture content to external file.- Parameters:
path
- File name to save.format
- Image format- Throws:
java.io.IOException
-
save
void save(java.awt.image.BufferedImage bitmap)
Save the texture content to external file.- Parameters:
bitmap
- Result bitmap to save.
-
toBitmap
java.awt.image.BufferedImage toBitmap()
Convert the texture unit toBufferedImage
instance
-
-