Class BufferedImageTexture
- java.lang.Object
-
- gov.nasa.worldwind.render.BasicWWTexture
-
- repast.simphony.visualization.gis3D.BufferedImageTexture
-
- All Implemented Interfaces:
gov.nasa.worldwind.render.WWTexture
@Deprecated public class BufferedImageTexture extends gov.nasa.worldwind.render.BasicWWTexture
Deprecated.As of version 2.5. Use theBasicWWTexture
instead to avoid memory leaks.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
-
-
Constructor Summary
Constructors Constructor Description BufferedImageTexture(BufferedImage imageSource)
Deprecated.
-
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 Detail
-
BufferedImageTexture
public BufferedImageTexture(BufferedImage imageSource)
Deprecated.
-
-