GXReadDrawSync

C Specification

#include <revolution/gx.h>
u16 GXReadDrawSync( void );

Arguments

None.

Return Values

The value of the token register, u16.

Description

This function returns the value of the token register, which is written using the GXSetDrawSync function. This allows the application to monitor the completion of graphics rendering tasks. This function is non-blocking.


You can also be notified when the token register is written using GXSetDrawSyncCallback.

This function returns the latest token value set by GXSetDrawSync.

See Also

GXSetDrawSync

Revision History

03/01/2006 Initial version.