Skip to content

AsyncRenderContext

Public Class

\ingroup rhino_render Inherit from AsyncRenderContext to be able to create asynchronous render engine implementations through RhinoCommon.

Inheritance Hierarchy

System.Object
Rhino.Render.AsyncRenderContext

Namespace: Rhino.Render

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public abstract class AsyncRenderContext : IDisposable

The AsyncRenderContext type exposes the following members.

Constructors

Name

Description


Protected Method

Initializes a new instance of the AsyncRenderContext class


Properties

Name

Description


Protected property

If set to true rendering should be stopped. Is set to true only by StopRendering().


Public Property

Holder for render thread, that gets set through StartRenderThread()


Public Property

Handle to the RenderWindow for the instance of this class. This is a convenience property for implementors to use.


Methods

Name

Description


Protected Method

Public Method

Releases all resources used by the AsyncRenderContext


Protected Method

Releases the unmanaged resources used by the AsyncRenderContext 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

GetType

Gets the Type of the current instance.

(Inherited from Object.)


Public Method

Join the render thread, then set to null;


Protected Method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)


Public Method

Start a new render thread with given function.


Public Method

Override StopRendering if you need to do additional tasks besides having Cancel set to true. Note: you should always base.StopRendering() in your overriding implementation.


Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)