SceneNodeDispose Method (Boolean) |
Namespace: DigitalRune.Graphics.SceneGraph
Scene nodes can share data objects. The parameter disposeData determines whether data objects are disposed or preserved when the scene node is disposed. For example, multiple MeshNodes can share the same Mesh. When a MeshNode is disposed and disposeData is the Mesh is disposed. All resources (vertex buffers, index buffers, etc.) are released and the mesh is no longer usable.
This method calls the virtual Dispose(Boolean, Boolean) method and then suppresses finalization of the instance.