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, setBlurMipmapDirect
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bindTexture
public DynamicTexture(NativeImage nativeImageIn)
public DynamicTexture(int widthIn, int heightIn, boolean clearIn)
public void loadTexture(IResourceManager manager) throws java.io.IOException
loadTexture
in interface ITextureObject
java.io.IOException
public void updateDynamicTexture()
@Nullable public NativeImage getTextureData()
public void setTextureData(NativeImage nativeImageIn) throws java.lang.Exception
java.lang.Exception
public void close()
close
in interface java.lang.AutoCloseable