Description:
Override to start your render engine. Note that before using the RenderWindow you *must* call SetSize to properly initialize the underlying DIB.
Syntax:
public abstract bool StartRenderer(
int w,
int h,
RhinoDoc doc,
ViewInfo view,
ViewportInfo viewportInfo,
bool forCapture,
RenderWindow renderWindow
)
int w,
int h,
RhinoDoc doc,
ViewInfo view,
ViewportInfo viewportInfo,
bool forCapture,
RenderWindow renderWindow
)
Parameters:
- w
- Type: int
- Width of resolution
- h
- Type: int
- Height of resolution
- doc
- Type: RhinoDoc
- Rhino document
- view
- Type: ViewInfo
- active view
- viewportInfo
- Type: ViewportInfo
- active viewport info
- forCapture
- Type: bool
- True if renderer is started for capture purposes (ViewCaptureTo*), False for regular interactive rendering
- renderWindow
- Type: RenderWindow
- RenderWindow to hold render results in.
Returns:
Type: bool
Return True when your render engine started correctly, False when that failed
Available since:
6.0