OpenMetaverse.TexturePipeline.GetTextureToRender C# (CSharp) Method

GetTextureToRender() public method

retrieve texture information from dictionary
public GetTextureToRender ( UUID textureID ) : ImageDownload
textureID UUID Texture ID
return ImageDownload
        public ImageDownload GetTextureToRender(UUID textureID)
        {
            lock (syncObject)
            {
                if (completedDownloads.ContainsKey(textureID))
                {
                    return completedDownloads[textureID];
                }
                else
                {
                    Logger.Log("Requested texture data for texture that does not exist in dictionary", Helpers.LogLevel.Warning);
                    return null;
                }
            }
        }