diff options
author | Dan Lake | 2009-09-24 10:00:31 -0700 |
---|---|---|
committer | dahlia | 2009-09-24 18:20:59 -0700 |
commit | 1b2828f5d859d2941167b0457158142e683efe39 (patch) | |
tree | c1cdac03732aed67c8d99ce6692f99c806c8d1c4 /OpenSim/Framework/AssetBase.cs | |
parent | modify BulletDotNETPrim.cs in preparation for Mantis #4181 (diff) | |
download | opensim-SC_OLD-1b2828f5d859d2941167b0457158142e683efe39.zip opensim-SC_OLD-1b2828f5d859d2941167b0457158142e683efe39.tar.gz opensim-SC_OLD-1b2828f5d859d2941167b0457158142e683efe39.tar.bz2 opensim-SC_OLD-1b2828f5d859d2941167b0457158142e683efe39.tar.xz |
Meshmerizer stores dictionary of unique Meshes keyed on construction parameters. CreateMesh() returns a Mesh from the dictionary or creates a new Mesh if it has not been created before. Meshes are never purged from the dictionary. The raw Mesh data is discarded once the memory is pinned for ODE use. All copies of the same prim/mesh use the same pinned memory. ONLY IMPLEMENTED AND TESTED WITH MESHMERIZER AND ODE
Signed-off-by: dahlia <dahliaTrimble@gmailDotCom>
Diffstat (limited to 'OpenSim/Framework/AssetBase.cs')
0 files changed, 0 insertions, 0 deletions