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 NNSi_G3dFuncSbc_SHP
function found in sbc.c
. This function internally performs the following processes:
A
callback. Callbacks in this position are convenient when substituting the sending of the primitive to 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 insert some process after this command ends. |
2004/10/14 Added description.
2004/08/02 Initial version.
CONFIDENTIAL