C# Class Universe.Modules.Caps.RenderMaterials

Inheritance: INonSharedRegionModule
Show file Open project: Virtual-Universe/Virtual-Universe

Public Properties

Property Type Description
m_knownMaterials OSDMap>.Dictionary

Public Methods

Method Description
AddRegion ( IScene scene ) : void
Close ( ) : void
Initialize ( IConfigSource source ) : void
RegionLoaded ( IScene scene ) : void
RegisterCaps ( UUID agentID, IHttpServer server ) : OSDMap
RemoveRegion ( IScene scene ) : void
RenderMaterialsGetCap ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
RenderMaterialsPostCap ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
ZCompressOSD ( OSD inOsd, bool useHeader ) : OSD

Compress an OSD.

ZDecompressBytesToOsd ( byte input ) : OSD

Decompress bytes to osd.

Private Methods

Method Description
CopyStream ( Stream input, Stream output ) : void
HashOsd ( OSD osd ) : UUID

computes a UUID by hashing a OSD object

StoreMaterialsForPart ( ISceneChildEntity part ) : void
ZippedOsdBytesToString ( byte bytes ) : string

Method Details

AddRegion() public method

public AddRegion ( IScene scene ) : void
scene IScene
return void

Close() public method

public Close ( ) : void
return void

Initialize() public method

public Initialize ( IConfigSource source ) : void
source IConfigSource
return void

RegionLoaded() public method

public RegionLoaded ( IScene scene ) : void
scene IScene
return void

RegisterCaps() public method

public RegisterCaps ( UUID agentID, IHttpServer server ) : OSDMap
agentID UUID
server IHttpServer
return OSDMap

RemoveRegion() public method

public RemoveRegion ( IScene scene ) : void
scene IScene
return void

RenderMaterialsGetCap() public method

public RenderMaterialsGetCap ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse Universe.Framework.Servers.HttpServer.Implementation.OSHttpResponse
return byte[]

RenderMaterialsPostCap() public method

public RenderMaterialsPostCap ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse Universe.Framework.Servers.HttpServer.Implementation.OSHttpResponse
return byte[]

ZCompressOSD() public static method

Compress an OSD.
public static ZCompressOSD ( OSD inOsd, bool useHeader ) : OSD
inOsd OSD In osd.
useHeader bool If set to true use header.
return OSD

ZDecompressBytesToOsd() public static method

Decompress bytes to osd.
public static ZDecompressBytesToOsd ( byte input ) : OSD
input byte Input.
return OSD

Property Details

m_knownMaterials public property

public Dictionary m_knownMaterials
return OSDMap>.Dictionary