crodude
03-12-2006 21:03:28
Hi all! Great job with Mogre!
Sorry for a dumb question, I have a project where scenes must be loaded and cleared quite often so doing this unapropriate would probably cause some memory leakage.
What would be the best/safest(without leaking) way to clean the whole scene(scene nodes/entities, lights, materials, textures etc.) in Mogre.
Is is via Dispose methods or something else.
And another one ... what would be the safest way to clear/destroy scene node and attached entity, and all materials and textures associated with it.
Sorry for this rather stupid questions, but I'm not at home right now(and will not be for a few days) and can't really test this but need the info on this.
Thanks!
D.
Sorry for a dumb question, I have a project where scenes must be loaded and cleared quite often so doing this unapropriate would probably cause some memory leakage.
What would be the best/safest(without leaking) way to clean the whole scene(scene nodes/entities, lights, materials, textures etc.) in Mogre.
Is is via Dispose methods or something else.
And another one ... what would be the safest way to clear/destroy scene node and attached entity, and all materials and textures associated with it.
Sorry for this rather stupid questions, but I'm not at home right now(and will not be for a few days) and can't really test this but need the info on this.
Thanks!
D.