| Offset (bytes) | Description |
|---|---|
| 0 | NNS_G3D_SBC_SHP |
| 1 | Shape ID. |
The NNS_G3D_SBC_SHP command sends the designated primitive to the geometry engine. By default, this command calls the sbc.c NNSi_G3dFuncSbc_SHP function. The following processes are performed inside this function:
A callback. The callback in this position is convenient when substituting the send of the primative in the callback function. You can skip processing until the next callback by setting the NNS_G3D_RSFLAG_SKIP flag of the NNS_G3dRS function in the callback function.
B callback.
C callback.
| Timing for Calling a Callback Function | Usage |
|---|---|
NNS_G3D_SBC_CALLBACK_TIMING_A |
When you want a user program to send primitives. |
NNS_G3D_SBC_CALLBACK_TIMING_B |
When you want to run a process after sending primitives. |
NNS_G3D_SBC_CALLBACK_TIMING_C |
When you want to enter some process after this command ends. |
10/14/2004 Revised description.
08/02/2004 Initial version.