C# 클래스 PrimWorkshop.TexturePipeline

Texture request download handler, allows a configurable number of download slots
파일 보기 프로젝트 열기: jhs/libopenmetaverse

공개 메소드들

메소드 설명
GetTextureToRender ( UUID textureID ) : ImageDownload

retrieve texture information from dictionary

RemoveFromPipeline ( UUID textureID ) : void

Remove no longer necessary texture from dictionary

RequestTexture ( UUID textureID ) : void

Request a texture be downloaded, once downloaded OnImageRenderReady event will be fired containing texture key which can be used to retrieve texture with GetTextureToRender method

Shutdown ( ) : void
TexturePipeline ( GridClient client ) : System

Default constructor

비공개 메소드들

메소드 설명
Assets_OnImageReceiveProgress ( UUID image, int lastPacket, int recieved, int total ) : void
Assets_OnImageReceived ( ImageDownload image, AssetTexture asset ) : void
DownloadThread ( ) : void

Master Download Thread, Queues up downloads in the threadpool

textureRequestDoWork ( Object threadContext ) : void

메소드 상세

GetTextureToRender() 공개 메소드

retrieve texture information from dictionary
public GetTextureToRender ( UUID textureID ) : ImageDownload
textureID UUID Texture ID
리턴 OpenMetaverse.ImageDownload

RemoveFromPipeline() 공개 메소드

Remove no longer necessary texture from dictionary
public RemoveFromPipeline ( UUID textureID ) : void
textureID UUID
리턴 void

RequestTexture() 공개 메소드

Request a texture be downloaded, once downloaded OnImageRenderReady event will be fired containing texture key which can be used to retrieve texture with GetTextureToRender method
public RequestTexture ( UUID textureID ) : void
textureID UUID id of Texture to request
리턴 void

Shutdown() 공개 메소드

public Shutdown ( ) : void
리턴 void

TexturePipeline() 공개 메소드

Default constructor
public TexturePipeline ( GridClient client ) : System
client OpenMetaverse.GridClient Reference to SecondLife client
리턴 System