Click or drag to resize
DigitalRuneRenderContextReferenceNode Property
Gets or sets a scene node that provides additional context for the current render operation.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public SceneNode ReferenceNode { get; set; }

Property Value

Type: SceneNode
A scene node that provides additional information.
Remarks

The purpose of the reference node depends on the current render operation. In most cases it will be . Here are some examples where a reference node is useful:

Shadow map rendering: When an object is rendered into the shadow map, the render context stores the currently rendered object in SceneNode. ReferenceNode contains the LightNode which owns the shadow map. This allows effect parameter bindings to find information about the light and the shadow.

Render-to-texture: When an object is rendered into a texture of an RenderToTextureNode, the render context stores the currently rendered object in SceneNode. ReferenceNode contains the RenderToTextureNode.

See Also