ITexture1D
All Implemented Interfaces: com.aspose.threed.ITextureUnit
public interface ITexture1D extends ITextureUnit
1D texture
Methods
| Method | Description |
|---|---|
| load(TextureData bitmap) | Load texture content from specified Bitmap |
| save(TextureData bitmap) | Save the texture content to external file. |
| save(String path, String format) | Save the texture content to external file. |
| toBitmap() | Convert the texture unit to TextureData instance |
load(TextureData bitmap)
public abstract void load(TextureData bitmap)
Load texture content from specified Bitmap
Parameters:
| Parameter | Type | Description |
|---|---|---|
| bitmap | TextureData |
save(TextureData bitmap)
public abstract void save(TextureData bitmap)
Save the texture content to external file.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| bitmap | TextureData | Result bitmap to save. |
save(String path, String format)
public abstract void save(String path, String format)
Save the texture content to external file.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| path | java.lang.String | File name to save. |
| format | java.lang.String | Image format |
toBitmap()
public abstract TextureData toBitmap()
Convert the texture unit to TextureData instance
Returns: TextureData