NNS_G2dDrawOneOam3DDirectWithPos

C Specification

#include <nnsys/g2d/g2d_OamSoftwareSpriteDraw.h>
void NNS_G2dDrawOneOam3DDirectWithPos(
        s16                             posX,
        s16                             posY,
        s16                             posZ,
        const GXOamAttr*                pOam, 
        const NNSG2dImageAttr*          pTexImageAttr,
        u32                             texBaseAddr,
        u32                             pltBaseAddr );

Arguments

posX [IN] X position
posY [IN] Y position
posZ [IN] Z position
pOam [IN] OAM attribute
pTexImageAttr [IN] Texture attribute
texBaseAddr [IN] Texture base address
pltBaseAddr [IN] Palette base address

Return Values

None.

Description

Directly renders a simple OBJ using the 3D Graphics Engine without using the internal buffer. This function can also specify the OAM position. It can specify any position that is not restricted by the OAM position information format.
The arguments specify the information for setting the texture data and the palette data used by the 3D graphics engine. You also need to configure the camera settings ahead of time. The camera settings can be configured using NNS_G2dSetupSoftwareSpriteCamera().

See Also

NNS_G2dSetupSoftwareSpriteCamera, NNS_G2dDrawOneOam3DDirect*Fast

Revision History

05/28/2004 Initial version.