DEMOSwapBuffers

C Specification

#include <demo.h>
void DEMOSwapBuffers(void)

Arguments

None.

Return Values

None.

Description

This function sets the next frame buffer, waits for vertical retracing, and swaps internal rendering buffers.

This function is similar to the DEMODoneRender function but is different because this function doesn't use the GXDrawDone function to confirm that rendering is completed; therefore, before calling this function, you must confirm that all rendering is completed in the game program. Use this function if the game program needs to use a special frame buffer copy (i.e., rendering in full frame, antialiasing mode) where the DEMODoneRender function would generally be used.

See Also

DEMOInit
DEMOBeforeRender
DEMODoneRender

Revision History

03/01/2006 Initial version.