NNS_G3D_SBC_SHP

Command Format

Offset (bytes) Description
0 NNS_G3D_SBC_SHP
1 Shape ID.

Description

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:

  1. Checks the timing 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.
  2. Sends the display list of the primitive to the geometry engine.
  3. Checks the timing B callback.
  4. There currently is not a process between timing B and timing C. However, there is the possibility that some sort of process will be placed there in the future.
  5. Checks the timing 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.

See Also

Revision History

10/14/2004 Revised description.

08/02/2004 Initial version.


CONFIDENTIAL