public class DynamicTexture extends AbstractTexture implements java.lang.AutoCloseable
blur, blurLast, glTextureId, mipmap, mipmapLast| Constructor and Description |
|---|
DynamicTexture(int widthIn,
int heightIn,
boolean clearIn) |
DynamicTexture(NativeImage nativeImageIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
NativeImage |
getTextureData() |
void |
loadTexture(IResourceManager manager) |
void |
setTextureData(NativeImage nativeImageIn) |
void |
updateDynamicTexture() |
deleteGlTexture, getGlTextureId, restoreLastBlurMipmap, setBlurMipmap, setBlurMipmapDirectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbindTexturepublic DynamicTexture(NativeImage nativeImageIn)
public DynamicTexture(int widthIn,
int heightIn,
boolean clearIn)
public void loadTexture(IResourceManager manager) throws java.io.IOException
loadTexture in interface ITextureObjectjava.io.IOExceptionpublic void updateDynamicTexture()
@Nullable public NativeImage getTextureData()
public void setTextureData(NativeImage nativeImageIn) throws java.lang.Exception
java.lang.Exceptionpublic void close()
close in interface java.lang.AutoCloseable