Click or drag to resize

RenderPipeline Constructor (RhinoDoc, RunMode, PlugIn, Size, String, RenderWindowStandardChannels, Boolean, Boolean, AsyncRenderContext)

Constructs a subclass of this object on the stack in your Rhino plug-in's Render() or RenderWindow() implementation. This constructor should be used when a non-blocking RenderWindow is required. Note that the asynchronous render context will not be used when mode is Scripted.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
protected RenderPipeline(
	RhinoDoc doc,
	RunMode mode,
	PlugIn plugin,
	Size sizeRendering,
	string caption,
	RenderWindowStandardChannels channels,
	bool reuseRenderWindow,
	bool clearLastRendering,
	ref AsyncRenderContext aRC
)

Parameters

doc
Type: RhinoRhinoDoc
A Rhino document.
mode
Type: Rhino.CommandsRunMode
A command running mode, such as scripted or interactive.
plugin
Type: Rhino.PlugInsPlugIn
A plug-in.
sizeRendering
Type: System.DrawingSize
The width and height of the rendering.
caption
Type: SystemString
The caption to display in the frame window.
channels
Type: Rhino.RenderRenderWindowStandardChannels
The color channel or channels.
reuseRenderWindow
Type: SystemBoolean
This parameter is obsolete.
clearLastRendering
Type: SystemBoolean
true if the last rendering should be removed. Indicates that this render is being done using RenderQuiet(). It specifically makes sure the render mesh iterator does not display any progress user interface.
aRC
Type: Rhino.RenderAsyncRenderContext
The asynchronous render context to set
See Also