|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.j3d.renderer.aviatrix3d.texture.AbstractTextureCache
public abstract class AbstractTextureCache
An abstract implementation of the cache with a collection of useful utility methods for any cache implementation.
This class does not provide the storage structures for caching as each implementation will have different requirements. It just provides utility methods that most implementations will find useful.
Constructor Summary | |
---|---|
protected |
AbstractTextureCache()
Construct a new instance of the empty cache. |
Method Summary | |
---|---|
protected TextureComponent2D |
load2DImage(java.lang.String filename)
Load the image component from the given filename. |
protected TextureComponent2D |
load2DImage(java.net.URL url)
Load the image component from the given url. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.j3d.renderer.aviatrix3d.texture.AVTextureCache |
---|
checkTextureComponent, fetchTexture, fetchTexture, fetchTextureComponent, fetchTextureComponent, registerTexture, registerTextureComponent |
Methods inherited from interface org.j3d.texture.TextureCache |
---|
checkTexture, clearAll, releaseTexture, releaseTexture |
Constructor Detail |
---|
protected AbstractTextureCache()
Method Detail |
---|
protected TextureComponent2D load2DImage(java.lang.String filename) throws java.io.IOException
filename
- The name of the file to be loaded
java.io.IOException
- Some error reading the fileprotected TextureComponent2D load2DImage(java.net.URL url) throws java.io.IOException
url
- The URL of the file to be loaded
java.io.IOException
- Some error reading the URL
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |