Files
libremetaverse/Programs/PrimWorkshop/TexturePipeline.cs
John Hurliman 194752abc1 * Moved TexturePipeline into libOpenMetaverse (still needs to be instantiated separately)
* Moved TextureCache into its own file
* New version of Periscope, major improvements. Check the Simian.ini file for usage, and change the const values in Periscope.cs
* Lots of miscellaneous cleanups and improvements in Simian

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2383 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-17 03:49:42 +00:00

28 lines
873 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using OpenMetaverse;
/*
* [14:09] <jhurliman> the onnewprim function will add missing texture uuids to the download queue,
* and a separate thread will pull entries off that queue.
* if they exist in the cache it will add that texture to a dictionary that the rendering loop accesses,
* otherwise it will start the download.
* the ondownloaded function will put the new texture in the same dictionary
*
*
* Easy Start:
* subscribe to OnImageRenderReady event
* send request with RequestTexture()
*
* when OnImageRenderReady fires:
* request image data with GetTextureToRender() using key returned in OnImageRenderReady event
* (optionally) use RemoveFromPipeline() with key to cleanup dictionary
*/
namespace PrimWorkshop
{
}