Skip to content

RenderPipeline

Public Class

Provides facilities to a render plug-in for integrating with the standard Rhino render window. Also adds helper functions for processing a render scene. This is the suggested class to use when integrating a renderer with Rhino and maintaining a “standard” user interface that users will expect.

Inheritance Hierarchy

System.Object
Rhino.Render.RenderPipeline

Namespace: Rhino.Render

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public abstract class RenderPipeline : IDisposable

The RenderPipeline type exposes the following members.

Constructors

Name

Description


Protected Method

Constructs a subclass of this object on the stack in your Rhino plug-in’s Render() or RenderWindow() implementation.


Protected Method

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.


Properties

Name

Description


Public Property

Sets the number of seconds that need to elapse during rendering before the user is asked if the rendered image should be saved.


Public Property

Public Property

Get the Id associated with this render session, this is useful when looking up Rhino.Render.RenderPanels.


Methods

Name

Description


Protected Method

Protected Method

Public Method

Closes the render window associated with this render instance.


Public Method

Protected Method

Frequently called during a rendering by the frame work in order to determine if the rendering should continue.


Public Method

Releases all resources used by the RenderPipeline


Protected Method

Releases the unmanaged resources used by the RenderPipeline and optionally releases the managed resources


Public Method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)


Protected Method

(Overrides Object.Finalize..)


Public Method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)


Public Method

Get the RenderWindow associated with this RenderPipeline instance. This is virtual rather than abstract for V5 compat


Public Method

As GetRenderWindow(), but if withWireframeChannel is true the returned RenderWindow will have the channel added.


Public Method

As GetRenderWindow(). The parameter withWireframeChannel controls whether the returned RenderWindow will have the channel added. The parameter fromRenderViewSource controls from where the RenderSize is queried.


Public Method

As GetRenderWindow(). The parameter withWireframeChannel controls whether the returned RenderWindow will have the channel added. The parameter fromRenderViewSource controls from where the RenderSize is queried. The viewportInfo instance will be used to set up wireframe channel. This is necessary for rendering different view than is currently active in the viewport


Public Method

As GetRenderWindow(). The parameter withWireframeChannel controls whether the returned RenderWindow will have the channel added. The parameter fromRenderViewSource controls from where the RenderSize is queried. The viewportInfo instance will be used to set up wireframe channel. This is necessary for rendering different view than is currently active in the viewport


Public Method

Like GetRenderWindow(), but with the size for RenderWindow set from RenderViewSources if fromRenderViewSource is set to true


Public Method

GetType

Gets the Type of the current instance.

(Inherited from Object.)


Protected Method

Public Method
Static Member

Protected Method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)


Protected Method

Protected Method

Protected Method

Called by the framework when it is time to start rendering, the render window will be created at this point and it is safe to start


Protected Method

Called by the framework when it is time to start rendering quietly, there is no user interface when rendering in this mode and the default post process effects will get applied to the scene when the rendering is complete.


Protected Method

Called by the framework when the user closes the render window or clicks on the stop button in the render window.


Protected Method

Public Method

Implement to pause the current render session


Public Method

Call this function to render the scene normally. The function returns when rendering is complete (or cancelled).


Protected Method

Protected Method

Protected Method

Protected Method

Public Method
Static Member

Obsolete.


Public Method
Static Member

Get the render size as specified in the ON_3dmRenderSettings. Will automatically return the correct size based on the ActiveView or custom settings.


Public Method
Static Member

Get the render size as specified in the ON_3dmRenderSettings, and from RenderSources when fromRenderSources is true.


Public Method

Call this function to render the scene in a view window. The function returns when rendering is complete (or cancelled).


Public Method

Implement to resume current render session


Public Method

Saves the rendered image to a file. Does not prompt the user in any way.


Public Method

Public Method

Override and return true if the renderer supports pausing


Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)