Click or drag to resize
DigitalRuneSceneNodeRenderer Class
Base class of all scene node renderers.
Inheritance Hierarchy
SystemObject
  DigitalRune.Graphics.RenderingSceneNodeRenderer
    More...

Namespace: DigitalRune.Graphics.Rendering
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public abstract class SceneNodeRenderer : IDisposable

The SceneNodeRenderer type exposes the following members.

Constructors
  NameDescription
Protected methodSceneNodeRenderer
Initializes a new instance of the SceneNodeRenderer class
Top
Methods
  NameDescription
Public methodCanRender
Determines whether this renderer can handle the specified scene node.
Public methodDispose
Releases all resources used by an instance of the SceneNodeRenderer class.
Protected methodDispose(Boolean)
Releases the unmanaged resources used by an instance of the SceneNodeRenderer class and optionally releases the managed resources.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRender(SceneNode, RenderContext)
Renders the specified scene node.
Public methodRender(IListSceneNode, RenderContext)
Renders the specified scene nodes.
Public methodRender(IListSceneNode, RenderContext, RenderOrder)
Renders the specified scene nodes.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyIsDisposed
Gets a value indicating whether this instance has been disposed of.
Public propertyOrder
Gets the draw order of this scene node renderer.
Top
Remarks

A SceneNodeRenderer renders one or more types of scene nodes. For example, the MeshRenderer handles MeshNodes, the BillboardRenderer handles BillboardNodes and ParticleSystemNodes, the LensFlareRenderer handles LensFlareNode, etc.

The SceneRenderer is a special type of scene node renderer. It does not handle scene nodes itself. Instead other renderers can be added to the SceneRenderer. The collection of renderers can be treated as a single scene node renderer.

Important: Possible Switch of Render Target!
A scene node renderer may replace the current render target with a new, compatible render target! That means that a scene node renderer may discard the current render target and set a new render target on the graphics device and in the render context. Any references to the previous render target will be invalid and should be updated.

See Also
Inheritance Hierarchy
SystemObject
  DigitalRune.Graphics.RenderingSceneNodeRenderer
    DigitalRune.Graphics.RenderingBillboardRenderer
    DigitalRune.Graphics.RenderingCloudMapRenderer
    DigitalRune.Graphics.RenderingDecalRenderer
    DigitalRune.Graphics.RenderingFigureRenderer
    DigitalRune.Graphics.RenderingFogRenderer
    DigitalRune.Graphics.RenderingLensFlareRenderer
    DigitalRune.Graphics.RenderingMeshRenderer
    DigitalRune.Graphics.RenderingPlanarReflectionRenderer
    DigitalRune.Graphics.RenderingSceneCaptureRenderer
    DigitalRune.Graphics.RenderingSceneRenderer
    DigitalRune.Graphics.RenderingSpriteRenderer
    DigitalRune.Graphics.RenderingTerrainClipmapRenderer
    DigitalRune.Graphics.RenderingTerrainRenderer
    DigitalRune.Graphics.RenderingWaterRenderer
    DigitalRune.Graphics.RenderingWaterWavesRenderer