public abstract class AbstractImageSource extends java.lang.Object implements ImageSource
| Constructor and Description |
|---|
AbstractImageSource() |
| Modifier and Type | Method and Description |
|---|---|
OpenglTextureHandle |
addTexture(OpenglControl control)
Adds the textureHandle to OpenglControl and returns the ID.
|
java.awt.Image |
getImage() |
void |
removeTexture()
Removes the textureHandle from GLTextureManager.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetImageBytespublic java.awt.Image getImage()
getImage in interface ImageSourcepublic OpenglTextureHandle addTexture(OpenglControl control)
ImageSourceaddTexture in interface ImageSourcepublic void removeTexture()
ImageSourceremoveTexture in interface ImageSource