RenderPipeline Constructor (RhinoDoc, RunMode, PlugIn, Size, String, RenderWindow.StandardChannels, Boolean, Boolean, AsyncRenderContext)

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
)
Protected Sub New ( 
	doc As RhinoDoc,
	mode As RunMode,
	plugin As PlugIn,
	sizeRendering As Size,
	caption As String,
	channels As RenderWindowStandardChannels,
	reuseRenderWindow As Boolean,
	clearLastRendering As Boolean,
	ByRef aRC As AsyncRenderContext
)

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
true if the rendering window should be reused; otherwise, a new one will be instantiated.
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
Version Information

Rhino for Windows

Supported in: 6.14
See Also