Q3View_StartRendering
You can use theQ3View_StartRenderingfunction to start rendering an image of a model.
TQ3Status Q3View_StartRendering (TQ3ViewObject view);
view- A view.
DESCRIPTION
TheQ3View_StartRenderingfunction begins the process of rendering an image of a model in the view specified by theviewparameter. After callingQ3View_StartRendering, you specify the model to be drawn (for instance, by callingQ3Geometry_Submit). When you have completely specified that model, you should callQ3View_EndRenderingto complete the rendering of the image. Because the renderer attached to the specified view might need to reprocess the model data, you should always callQ3View_StartRenderingandQ3View_EndRenderingin a rendering loop.Calling
Q3View_StartRenderingautomatically clears the buffer into which the rendered image is drawn.SPECIAL CONSIDERATIONS
You should not callQ3View_StartRenderingwhile rendering is already occurring.ERRORS
kQ3ErrorRenderingIsActiveSEE ALSO
See "Rendering an Image" on page 13-4 for more information about a rendering loop.