Class BufferedImageTexture

  • All Implemented Interfaces:

    public class BufferedImageTexture
    extends gov.nasa.worldwind.render.BasicWWTexture
    As of version 2.5. Use the BasicWWTexture 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.
    Eric Tatara
    • Field Summary

      • Fields inherited from class gov.nasa.worldwind.render.BasicWWTexture

        height, texCoords, textureInitializationFailed, width
    • 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)