NNS_G2dDrawOneOam3DDirectWithPos

Syntax

#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 single 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.
The camera must be configured ahead of time. Use the NNS_G2dSetupSoftwareSpriteCamera function to configure the camera.

See Also

NNS_G2dSetupSoftwareSpriteCamera
NNS_G2dDrawOneOam3DDirect*Fast

Revision History

2004/05/28 Initial version.


CONFIDENTIAL