AsyncRenderContext
\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
AsyncRenderContext
Initializes a new instance of the AsyncRenderContext class
Properties
Name
Description
Protected property
Cancel
If set to true rendering should be stopped. Is set to true only by StopRendering().
Public Property
RenderThread
Holder for render thread, that gets set through StartRenderThread()
Public Property
RenderWindow
Handle to the RenderWindow for the instance of this class. This is a convenience property for implementors to use.
Methods
Name
Description
Protected Method
DeleteThis
Public Method
Dispose.
Releases all resources used by the AsyncRenderContext
Protected Method
Dispose(Boolean)
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
Finalize
(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
JoinRenderThread
Join the render thread, then set to null;
Protected Method
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public Method
StartRenderThread
Start a new render thread with given function.
Public Method
StopRendering
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.)