Disposes all of the contained objects and materials of the given object.
Object3D to dispose (recursively visits children and their resources).
When true, also disposes materials and their textures.
Disposes all of the contained objects and materials of the given object.