| Offset (bytes) | Description |
|---|---|
| 0 | NNS_G3D_SBC_MTX is stored. |
| 1 | Index to the matrix stack. |
The NNS_G3D_SBC_MTX command restores the position / vector matrix for rendering to the current matrix. By default, this command calls the sbc.c NNSi_G3dFuncSbc_MTX function. The following processes are performed inside this function:
A callback. The callback in this position is convenient when replacing the restore operations of the matrix. You can skip processing until the next callback by setting the NNS_G3D_RSFLAG_SKIP flag of NNS_G3dRS in the callback function.
C callback. The callback in this position is used when performing some sort of operation after this command finishes.
| Timing for Calling a Callback Function | Usage |
|---|---|
NNS_G3D_SBC_CALLBACK_TIMING_A |
When you want to replace the matrix restore operation with some process. |
NNS_G3D_SBC_CALLBACK_TIMING_B |
You cannot use this timing. |
NNS_G3D_SBC_CALLBACK_TIMING_C |
When you want to enter some process after this command ends. |
2004/10/14 Revised description.
2004/08/02 Initial version.
CONFIDENTIAL