#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 single OBJ using the 3D Graphics Engine without using the internal buffer. Uses arguments to specify information used to set the texture data and palette data used by the 3D graphics engine. To draw an OBJ that references affine parameters, the user must either appropriately configure the affine-conversion settings in the 3D graphics engine before calling this function, or render the OBJ using the NNS_G2dDrawOneOam3DDirectWithPosAffine
function. (Note: This is odd behavior that dates to an earlier version of this function.)
The camera must be configured ahead of time. Use the NNS_G2dSetupSoftwareSpriteCamera
function to configure the camera.
NNS_G2dSetupSoftwareSpriteCamera
NNS_G2dDrawOneOam3DDirectWithPosAffine
NNS_G2dDrawOneOam3DDirect*Fast
2004/05/28 Initial version.
CONFIDENTIAL