Click or drag to resize
DigitalRuneSceneNodeDispose Method (Boolean)
Releases all resources used by the scene node and all descendant nodes.

Namespace: DigitalRune.Graphics.SceneGraph
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public void Dispose(
	bool disposeData
)

Parameters

disposeData
Type: SystemBoolean
to dispose scene nodes including data objects; to dispose only scene nodes but preserve the data objects.
Remarks

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.

See Also