11 Creating and Managing Renderers
Q3Renderer_Flush
function to flush any image buffers maintained internally by a renderer.
TQ3Status Q3Renderer_Flush ( TQ3RendererObject renderer, TQ3ViewObject view);renderer
A renderer.view
A view.
Q3Renderer_Flush
function flushes any image buffers maintained internally by the renderer specified by the renderer
parameter when drawing in the view specified by the view
parameter. This function is useful only when the draw context associated with the specified view is in single-buffering mode. In that case, the renderer might need to allocate a temporary buffer to hold data before it can render an image. In general, the user will not see any of the image until your application calls Q3View_EndRendering
. You can, however, call the Q3Renderer_Flush
function inside the rendering loop to force the renderer to draw objects as they are submitted for drawing.Q3Renderer_Flush
function can adversely affect the performance of your application. You should call this function only when you need to force the renderer to draw objects as they are submitted for drawing.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker