Package com.ngt.jopenmetaverse.shared.sim.cache

Examples of com.ngt.jopenmetaverse.shared.sim.cache.LoadCachedImageResult


      else
      {
        texturesPtrMap.put(item.TeFace.getTextureID(), item.Data.TextureInfo);
        if (item.TextureData == null && item.TGAData == null)
        {
          LoadCachedImageResult cachedTgaImage = Client.assets.Cache.loadCompressedImageFromCache(item.TeFace.getTextureID());
          if (cachedTgaImage !=null)
          {
            item.TGAData = cachedTgaImage.data;
            item.Data.TextureInfo.HasAlpha = cachedTgaImage.hasAlpha ;
            item.Data.TextureInfo.FullAlpha  = cachedTgaImage.fullAlpha;
View Full Code Here


                    if (item.TextureData == null && item.TGAData == null)
                    {
                        if (CacheDecodedTextures)
                        {
                          LoadCachedImageResult lcir = Client.assets.Cache.loadCompressedImageFromCache(item.TeFace.getTextureID());
                          if(lcir!=null)
                            PendingTextures.put(item);
                        }
                        else if (Client.assets.Cache.hasAsset(item.Data.TextureInfo.TextureID))
                        {
View Full Code Here

//    }
   
    try
    {
      gotImage.reset();             
      LoadCachedImageResult result = client.assets.Cache.loadCompressedImageFromCache(textureID);

      if (result != null)
      {
        ByteArrayInputStream baos = new ByteArrayInputStream(result.data);
        img = LoadTGAClass.LoadTGA(baos);
View Full Code Here

TOP

Related Classes of com.ngt.jopenmetaverse.shared.sim.cache.LoadCachedImageResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.