#include <nnsys/g2d/g2d_OamSoftwareSpriteDraw.h>
void NNS_G2dDrawOneOam3DDirectWithPosAffine(
s16 posX,
s16 posY,
s16 posZ,
const GXOamAttr* pOam,
const NNSG2dImageAttr* pTexImageAttr,
u32 texBaseAddr,
u32 pltBaseAddr,
const MtxFx22* pMtx );
| 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 |
| pMtx | [IN] Affine matrix |
None.
Directly renders a simple OBJ using the 3D Graphics Engine without using the internal buffer. This function can also specify the OAM position and the affine matrix to use for drawing the OBJ.
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(). This function is called inside NNS_G2dApplyOamManagerToHWSprite().
NNS_G2dApplyOamManagerToHWSprite, NNS_G2dSetupSoftwareSpriteCamera, NNS_G2dDrawOneOam3DDirect*Fast
2004/05/28 Initial version.
CONFIDENTIAL