#include <nnsys/g2d/g2d_OamSoftwareSpriteDraw.h>
void NNS_G2dDrawOneOam3DDirect
(
const GXOamAttr* pOam,
const NNSG2dImageAttr* pTexImageAttr,
u32 texBaseAddr,
u32 pltBaseAddr
);
| pOam | [IN] GXOamAttr |
| pTexImageAttr | [IN] Texture attribute |
| texBaseAddr | [IN] Texture base address |
| pltBaseAddr | [IN] Palette base address |
None.
Directly renders a simple OBJ using the 3D Graphics Engine without using the internal buffer. Designates the argument information that is used to set the texture data and palette data that is used by the 3D graphics engine. To draw an OBJ that references affine parameters, the user must first set the affine-conversion parameter in the 3D graphics engine before calling this function. Alternatively, you can draw the OBJ using NNS_G2dDrawOneOam3DDirectWithPosAffine(). (Note: This is odd behavior that dates to an earlier version of this function.)
You also need to configure the camera settings ahead of time. The camera settings can be configured using NNS_G2dSetupSoftwareSpriteCamera().
NNS_G2dSetupSoftwareSpriteCamera, NNS_G2dDrawOneOam3DDirectWithPosAffine, NNS_G2dDrawOneOam3DDirect*Fast
2004/05/28 Initial version.
CONFIDENTIAL