Skip to content

RenderWindow

Public Class

Inheritance Hierarchy

System.Object
Rhino.Render.RenderWindow

Namespace: Rhino.Render

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public class RenderWindow : IDisposable

The RenderWindow type exposes the following members.

Properties

Name

Description


Public Property

Methods

Name

Description


Public Method

Add a channel to the frame buffer in addition to the fixed Red, Green, Blue and Alpha channels.


Public Method

This method sets the frame buffer size and adds all the necessary wireframe channels automatically. It also creates the wireframe channel data automatically so that your renderer doesn’t have to. You typically call this method only when your renderer does not support wireframe rendering itself. If you call this method, then you should not add any wireframe channels returned by GetRenderChannels(). If your renderer is capable of rendering the wireframe channels itself, you should not call this method. Instead, you must make sure you add the wireframe channels if GetRenderChannels() requests them. See IRhRdkRenderWindow::GetRenderChannels(). After the wires are rendered, the wireframe post effects will composite them into the final rendered image. Note: This method should really be called AddWireframeChannels(). [SDK_UNFREEZE] */


Public Method
Static Member

Public Method
Static Member

Public Method

Releases all resources used by the RenderWindow


Public Method

Must be called when an asynchronous render has finished or ended for any reason.


Public Method

Equals

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

(Inherited from Object.)


Protected Method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

(Inherited from Object.)


Public Method
Static Member

Public Method

Obsolete.

OBSOLETE. NOT IMPLEMENTED.


Public Method

Public Method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)


Public Method

Get array of Guids representing the channels requested by the post effect pipeline for this RenderWindow.


Public Method

Get array of StandardChannels enum values representing the channels requested by the post effect pipeline for this RenderWindow.


Public Method

GetType

Gets the Type of the current instance.

(Inherited from Object.)


Public Method

Invalidate the entire view window so that the pixels get painted.


Public Method

Public Method

Query if a channel is available.


Public Method

Query if a channel is being shown.


Protected Method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)


Public Method

Public Method

Register an instance of PostEffectExecutionControl.


Public Method

Save current Dib of RenderWindow as file Helper function for debugging purposes.


Public Method

Like RenderWindow.SaveRenderImageAs(string,Guid,bool), but with Guid set to Guid.Empty.


Public Method

Save current RenderWindow contents as an image file with the given name. The filetype will be determine. Pass in render engine Guid if an engine implements saving to a format that is not supported by Rhino. Guid.Empty if there is no need for that.


Public Method

Obsolete.

OBSOLETE. NOT IMPLEMENTED.


Public Method

Set whether or not rendering is in progress. Added to support raytraced mode.


Public Method

Accepts a rendering progress value to inform the user of the rendering advances.


Public Method

Specify a sub-rectangle of the render window to indicate where the relevant render output has been written. For example, if a renderer chooses to render at half resolution, it could write its data to the top left quadrant of the render window, which can be indicated by setting the render output rectangle. This is set to the full render window size by default. When the render window size is modified, the render output rectangle will be set to reflect the new size.


Public Method

Call this method to open the RenderWindow.StandardChannels.RGBA channel and set a block of color values


Public Method

Call this method to open the RenderWindow.StandardChannels.RGBA channel and set a block of color values


Public Method

Public Method

Public Method

Public Method
Static Member

Get the StandardChannels for the given Guid


Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)


Events

Name

Description


Public Event
Static Member