#include <nnsys/g3d/kernel.h>
u8* NNS_G3dRenderObjSetUserSbc( NNSG3dRenderObj* pRenderObj, u8* sbc );
| pRenderObj | Pointer to the NNSG3dRenderObj structure |
| sbc | Pointer to the SBC (Structure Byte Code) |
The previously set pointer.
The SBC (Structure Byte Code) that is specified by sbc is registered in the rendering object specified by pRenderObj. SBC is byte code interpreted by one kind of interpreter during execution of the NNS_G3dDraw function. SBC determines the joint structure of the model, as well as which shape to set to/for/in which material. Normally, drawing is done using the SBC stored in the model resource created with g3dcvtr. However you can also use an SBC created by the user.
10/15/2004 Revised description.
08/02/2004 Initial version.