gov.nasa.worldwind.cache
Class BasicTextureCache.TextureEntry
java.lang.Object
gov.nasa.worldwind.cache.BasicTextureCache.TextureEntry
- All Implemented Interfaces:
- Cacheable
- Enclosing class:
- BasicTextureCache
public static class BasicTextureCache.TextureEntry
- extends Object
- implements Cacheable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicTextureCache.TextureEntry
public BasicTextureCache.TextureEntry(Texture texture)
getSizeInBytes
public long getSizeInBytes()
- Description copied from interface:
Cacheable
- Retrieves the approximate size of this object in bytes. Implementors are encouraged to calculate the exact size
for smaller objects, but use approximate values for objects that include such large components that the
approximation would produce an error so small that the extra computation would be wasteful.
- Specified by:
getSizeInBytes
in interface Cacheable
- Returns:
- this
Cacheable
object's size in bytes
getTexture
public Texture getTexture()