GXReadDrawSync

Syntax

#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 asynchronous (non-blocking).

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

This function simply returns the latest token value set by the GXSetDrawSync function.

See Also

GXSetDrawSync

Revision History

2006/03/01 Initial version.


CONFIDENTIAL