Click or drag to resize

AsyncRenderContext Class

\ingroup rhino_render Inherit from AsyncRenderContext to be able to create asynchronous render engine implementations through RhinoCommon.
Inheritance Hierarchy
SystemObject
  Rhino.RenderAsyncRenderContext

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public abstract class AsyncRenderContext : IDisposable

The AsyncRenderContext type exposes the following members.

Constructors
  NameDescription
Protected methodAsyncRenderContext
Initializes a new instance of the AsyncRenderContext class
Top
Properties
  NameDescription
Protected propertyCancel
If set to true rendering should be stopped. Is set to true only by StopRendering().
Public propertyRenderThread
Holder for render thread, that gets set through StartRenderThread()
Public propertyRenderWindow
Handle to the RenderWindow for the instance of this class. This is a convenience property for implementors to use.
Top
Methods
  NameDescription
Protected methodDeleteThis
Public methodDispose
Releases all resources used by the AsyncRenderContext
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the AsyncRenderContext and optionally releases the managed resources
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodJoinRenderThread
Join the render thread, then set to null;
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStartRenderThread
Start a new render thread with given function.
Public methodStopRendering
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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also