NNS_G3dRenderObjSetUserSbc

Syntax

#include <nnsys/g3d/kernel.h>
u8*
NNS_G3dRenderObjSetUserSbc(
    NNSG3dRenderObj* pRenderObj,
    u8*              sbc
);

Arguments

pRenderObj Pointer to the NNSG3dRenderObj structure.
sbc Pointer to the SBC (Structure Byte Code)

Return Values

The previously set pointer.

Description

Registers the SBC (Structure Byte Code) that is specified by sbc in the rendering object specified by pRenderObj. The SBC is a byte code interpreted by one kind of interpreter during execution of the NNS_G3dDraw function. The SBC determines a model's joint structure and other characteristics such as which shape is set for which material. Normally, rendering is done using an SBC created with g3dcvtr and stored in the model resource. However, you can also use an SBC created by the user.

See Also

Revision History

2004/10/15 Revised description.
2004/08/02 Initial version.


CONFIDENTIAL