PathEngine home previous: iTestBed::enterAdditiveBlendingPhase()next: iTestBed::getActiveMeshSlot()
Contents, API Reference, Interfaces, iTestBed, finishGeneratingPreprocess



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


cRenderPreprocess* finishGeneratingPreprocess();

Return value

A render preprocess object for the rendering calls executed since startGeneratingPreprocess().


This method stops preprocess generation after iTestBed::startGeneratingPreprocess(), and returns a render preprocess object corresponding to the set of rendering operations.

You can think of this as then effectively recording the set of rendering operations since the startGeneratingPreprocess() call.

iTestBed::drawRenderPreprocess() can then be used to subsequently apply the recorded rendering operations (without overhead for building rendered geometry or obtaining GPU resources).

iTestBed::deleteRenderPreprocess() should then be called to release memory and resources when this preprocess is no longer required.

Documentation for PathEngine release 6.03 - Copyright © 2002-2021 PathEnginenext: iTestBed::getActiveMeshSlot()