Derive ResourceGroupManager.OpenResource?

boyamer

09-12-2009 09:16:35

Hi,Mogre guru's,specially smiley80,i want to know if there is a possibility to derive the OpenResource
method to Open C# System.IO.Stream insteam of Mogre.DataStream?

Thanks

smiley80

09-12-2009 14:31:13

Why don't you just convert the DataStream to a MemoryStream?

boyamer

09-12-2009 14:51:01

Wouldn't that make memory leaks?

smiley80

09-12-2009 22:54:54

Shouldn't be an issue if you dispose both streams.
You can dispose the DataStream after you converted it.