# RenderWindow class

Namespace: [Rhino.Render](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.render.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class RenderWindow : IDisposable
```

## Properties

- [SessionId](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/sessionid.md)

## Methods

- [AddChannel](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/addchannel.md): Add a channel to the frame buffer in addition to the fixed Red, Green, Blue and Alpha channels.
- [AddWireframeChannel](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/addwireframechannel.md): 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] */
- [ChannelId](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/channelid.md): (static)
- [Create](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/create.md): (static)
- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/dispose.md)
- [EnableDebugThreadCheck](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/enabledebugthreadcheck.md): Expert use only. Note that it is critical that when you disable the check, you absolutely ensure that there can not be access to the render window from multiple threads during the period it is disabled. Set it back on as soon as possible.
- [EndAsyncRender](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/endasyncrender.md): Must be called when an asynchronous render has finished or ended for any reason.
- [FromSessionId](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/fromsessionid.md): (static)
- [GetAdjust](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/getadjust.md): (obsolete) OBSOLETE. NOT IMPLEMENTED.
- [GetBitmap](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/getbitmap.md)
- [GetRequestedRenderChannels](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/getrequestedrenderchannels.md): Get array of Guids representing the channels requested by the post effect pipeline for this RenderWindow.
- [GetRequestedRenderChannelsAsStandardChannels](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/getrequestedrenderchannelsasstandardchannels.md): Get array of StandardChannels enum values representing the channels requested by the post effect pipeline for this RenderWindow.
- [Invalidate](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/invalidate.md): Invalidate the entire view window so that the pixels get painted.
- [InvalidateArea](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/invalidatearea.md)
- [IsChannelAvailable](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/ischannelavailable.md): Query if a channel is available.
- [IsChannelShown](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/ischannelshown.md): Query if a channel is being shown.
- [OpenChannel](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/openchannel.md)
- [RegisterPostEffectExecutionControl](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/registerposteffectexecutioncontrol.md): Register an instance of PostEffectExecutionControl.
- [SaveDibAsBitmap](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/savedibasbitmap.md): Save current Dib of RenderWindow as file Helper function for debugging purposes.
- [SaveRenderImageAs](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/saverenderimageas.md): (2 overloads) Like RenderWindow.SaveRenderImageAs(string,Guid,bool), but with Guid set to Guid.Empty.
- [SetAdjust](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/setadjust.md): (obsolete) OBSOLETE. NOT IMPLEMENTED.
- [SetIsRendering](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/setisrendering.md): Set whether or not rendering is in progress. Added to support raytraced mode.
- [SetProgress](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/setprogress.md): Accepts a rendering progress value to inform the user of the rendering advances.
- [SetRenderOutputRect](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/setrenderoutputrect.md): 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.
- [SetRGBAChannelColors](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/setrgbachannelcolors.md): (2 overloads) Call this method to open the RenderWindow.StandardChannels.RGBA channel and set a block of color values
- [SetSize](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/setsize.md)
- [SetView](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/setview.md)
- [Size](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/size.md)
- [StandardChannelForGuid](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/standardchannelforguid.md): (static) Get the StandardChannels for the given Guid

## Events

- [Cloned](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.renderwindow/cloned.md): (static)
