NNS_G3dGetParentNodeID

Syntax

#include <nnsys/g3d/util.h>
const u8*
NNS_G3dGetParentNodeID(
    int*      parentID,
    const u8* sbc,
    u32       nodeID
);

Arguments

parentID Parent ID
sbc Pointer to the SBC code string
nodeID The node ID

Return Values

Returns the pointer to the NODEDESC command that configures nodeID.

Description

Stores the ID of the node that will be the parent of nodeID in *parentID. The return value is the pointer to the NODEDESC command that configures nodeID. If no parent ID is found, a NULL is returned and the *parentID does not change.

See Also

NNS_G3dGetChildNodeIDList

Revision History

2004/08/02 Initial version.


CONFIDENTIAL