Click or drag to resize
DigitalRuneFigureRenderer Class
Renders FigureNodes.
Inheritance Hierarchy

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

The FigureRenderer type exposes the following members.

Constructors
  NameDescription
Public methodFigureRenderer
Initializes a new instance of the FigureRenderer class.
Top
Methods
  NameDescription
Public methodCanRender
Determines whether this renderer can handle the specified scene node.
(Overrides SceneNodeRendererCanRender(SceneNode, RenderContext).)
Public methodDispose
Releases all resources used by an instance of the SceneNodeRenderer class.
(Inherited from SceneNodeRenderer.)
Protected methodDispose(Boolean)
Releases the unmanaged resources used by an instance of the SceneNodeRenderer class and optionally releases the managed resources.
(Overrides SceneNodeRendererDispose(Boolean).)
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.)
Protected methodOnLoadEffect
Called when the Effect for rendering lines and shapes is loaded.
Public methodRender(SceneNode, RenderContext)
Renders the specified scene node.
(Inherited from SceneNodeRenderer.)
Public methodRender(IListSceneNode, RenderContext)
Renders the specified scene nodes.
(Inherited from SceneNodeRenderer.)
Public methodRender(IListSceneNode, RenderContext, RenderOrder)
Renders the specified scene nodes.
(Overrides SceneNodeRendererRender(IListSceneNode, RenderContext, RenderOrder).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberMaxBufferSize
The maximum buffer size (number of line segments).
Top
Properties
  NameDescription
Public propertyBufferSize
Gets the size of the buffer (= number of line segments/triangles).
Public propertyIsDisposed
Gets a value indicating whether this instance has been disposed of.
(Inherited from SceneNodeRenderer.)
Public propertyOptions
Gets or sets the options for rendering figures.
Public propertyOrder
Gets the draw order of this scene node renderer.
(Inherited from SceneNodeRenderer.)
Top
Remarks

This renderer requires the HiDef graphics profile. If the current graphics profile is Reach, Render(IListSceneNode, RenderContext, RenderOrder) throws a NotSupportedException.

The FigureRenderer is a scene node renderer which handles FigureNodes.

Render Target and Viewport:
This renderer renders into the current render target and viewport of the graphics device.

See Also