Class BufferedImageTexture
java.lang.Object
gov.nasa.worldwind.render.BasicWWTexture
repast.simphony.visualization.gis3D.BufferedImageTexture
- All Implemented Interfaces:
gov.nasa.worldwind.render.WWTexture
Deprecated.
BufferedImageTexture is a non-cached BasicWWTexture implementation that is
useful for styling PlaceMarks with often changing appearance, eg for
agents that may update their appearance every tick.
The non-cached version of BasicWWTexture just returns a stored jogl Texture
each time rather than storing it in the GPU texture cache. For cases where
the style updates the texture anyway, this does not impact rendering
performance but has a huge benefit in reducing memory storage of textures.
This implementation only handles BufferedImage as the image source.
- Author:
- Eric Tatara
-
Field Summary
Fields inherited from class gov.nasa.worldwind.render.BasicWWTexture
height, texCoords, textureInitializationFailed, width
-
Constructor Summary
-
Method Summary
Methods inherited from class gov.nasa.worldwind.render.BasicWWTexture
applyInternalTransform, bind, getHeight, getImageSource, getTexCoords, getTexture, getTextureFromCache, getWidth, initialize, initializeTexture, isTextureCurrent, isTextureInitializationFailed, isUseAnisotropy, isUseMipMaps, setUseAnisotropy
-
Constructor Details
-
BufferedImageTexture
Deprecated.
-
BasicWWTexture
instead to avoid memory leaks.