PathEngine home previous: iTestBed::setMeshAtSlot()next: iTestBed::transformCameraTarget()
Contents, API Reference, Interfaces, iTestBed, startGeneratingPreprocess

iTestBed::startGeneratingPreprocess()

Description

Start caching information from rendering calls for drawing later through a render preprocess object.

Syntax

void startGeneratingPreprocess();
        

Remarks

This method can be used, with a matching call to iTestBed::finishGeneratingPreprocess(), to cache rendering information and GPU resources for a given set of rendering operations.

Direct rendering operations in between startGeneratingPreprocess() and finishGeneratingPreprocess() will not be displayed, but will instead cache information in the resulting cRenderPreprocess.
(Direct rendering operations means rendering operations that do not already operate on or create cRenderPreprocess objects.)

The mechanism does not apply to screen space rendering methods (such as text or splash screen image rendering), or camera or rendering state changes, which are not affected by this mechanism or included in the resulting preprocess object.

startGeneratingPreprocess() should not be called again when preprocess generation is already running, i.e. before the matching finishGeneratingPreprocess() call.

See Also

iTestBed::drawRenderPreprocess()
Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iTestBed::transformCameraTarget()