NNS_G2dLoadImage2DMapping

C Specification

#include <nnsys/g2d/g2d_Image.h>
void NNS_G2dLoadImage2DMapping( 
                        const NNSG2dCharacterData*  pSrcData, 
                        u32                         baseAddr, 
                        NNS_G2D_VRAM_TYPE           type, 
                        NNSG2dImageProxy*           pImgProxy );
  

Arguments

pSrcData [IN] Input image data source
baseAddr [IN] Load destination address
type [IN] VRAM type to use (3D, 2D-Main, or 2D-Sub)
pImgProxy [OUT] Image proxy storing the load result

Return Values

None.

Description

Loads the image data to the hardware and sets the load results and the image format to the image proxy. This function is used exclusively for the image materials of the 2D mapping mode. Internally, this function sets the 2D graphics engine character mode to the 2D mapping mode if VRAM is assigned for the 2D graphics engine.

See Also

None.

Revision History

2004/05/28 Initial version.


CONFIDENTIAL