Click or drag to resize
DigitalRuneCameraNodeDispose Method (Boolean, Boolean)
Releases the unmanaged resources used by an instance of the SceneNode class and optionally releases the managed resources.

Namespace: DigitalRune.Graphics.SceneGraph
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
protected override void Dispose(
	bool disposing,
	bool disposeData
)

Parameters

disposing
Type: SystemBoolean
to release both managed and unmanaged resources; to release only unmanaged resources.
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.
See Also