| SceneNodeRendererRender Method (SceneNode, RenderContext) |
Renders the specified scene node.
Namespace: DigitalRune.Graphics.RenderingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public void Render(
SceneNode node,
RenderContext context
)
Public Sub Render (
node As SceneNode,
context As RenderContext
)
public:
void Render(
SceneNode^ node,
RenderContext^ context
)
member Render :
node : SceneNode *
context : RenderContext -> unit
Parameters
- node
- Type: DigitalRune.Graphics.SceneGraphSceneNode
The scene node. - context
- Type: DigitalRune.GraphicsRenderContext
The render context. (The property CameraNode selects the
currently active camera. Some renderers require additional information in the render
context. See remarks.)
Exceptions Remarks
For mesh nodes: The
RenderPass in the render context determines
the effect binding that should be used for rendering meshes. The effect binding might
require additional information in the render context.
See Also