| njSetEORFunction | English |
|---|---|
▲|INDEX|■ | |
| レンダリング終了後実行関数を登録します。 | |
#include <Ninja.h> void njSetEORFunction( func ) void (*func)(void)
static Int count=0;
void foo(void)
{
count++;
}
void njUserInit(void)
{
:
/* foo関数の登録 */
njSetEORFunction( foo );
}
Sint32 njUserMain(void)
{
/* countが1づつあがります */
njPrintD(NJM_LOCATION(0,0),count,8);
}
| njSetEORFunction | ▲|INDEX|■ |
|---|