#include <revolution/gx.h>OSThread* GXGetCurrentGXThread ( void );None.
The current GX thread.
This function will return the current GX thread; the thread that currently generates the graphics data.
By default, the GX thread is the thread that invoked GXInit. However, it may be changed by calling GXSetCurrentGXThread.
When graphics data is generated in immediate mode (that is, the CPU fifo = GP fifo, and the GP is actively consuming data), the high watermark may be triggered. When this happens, the high watermark interrupt handler will suspend the GX thread, preventing further graphics data from being generated. The low watermark interrupt handler will make the thread executable.
03/01/2006 Initial version.