NNS_G2dLoadImage1DMapping

C Specification

#include <nnsys/g2d/g2d_Image.h>
void NNS_G2dLoadImage1DMapping( 
                        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 1D mapping mode. If a 2D Graphics Engine VRAM has been specified, the 2D Graphics Engine character mode will be set to the 1D mapping mode internally. Note that 1D mapping 256K mode data cannot be used when NNS_G2D_VRAM_TYPE_2DSUB is specified for type. (In that case, assert will fail))

See Also

None.

Revision History

2004/05/28 Initial version.


CONFIDENTIAL