AsyncRenderContext
References\ingroup rhino_render Inherit from AsyncRenderContext to be able to create asynchronous render engine implementations through RhinoCommon.
Constructors
AsyncRenderContext
#protected AsyncRenderContext()
Finalizer
~AsyncRenderContext
#~AsyncRenderContext()
Properties
Cancel
#If set to true rendering should be stopped. Is set to true only by StopRendering().
Holder for render thread, that gets set through StartRenderThread()
Handle to the RenderWindow for the instance of this class. This is a convenience property for implementors to use.
Methods
DeleteThis
#protected virtual void DeleteThis()
public void Dispose()
Start a new render thread with given function.
Parameters:
| threadStart (ThreadStart) | Function to start in render thread |
| threadName (string) | Name for the thread |
public virtual void 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.