#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 single 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 rendering the OBJ.
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. This function is called inside the NNS_G2dApplyOamManagerToHWSprite
function.
NNS_G2dApplyOamManagerToHWSprite
NNS_G2dSetupSoftwareSpriteCamera
NNS_G2dDrawOneOam3DDirect*Fast
2004/05/28 Initial version.
CONFIDENTIAL