# NNS_G2dLoadImageVramTransfer

## C Specification

      #include <nnsys/g2d/g2d_Image.h>

      void NNS_G2dLoadImageVramTransfer(
      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 that stores the load result

## Return Values

None.

## Description

Sets the image format as a result of loading into the image proxy. This function is especially for VRAM transfer-use image elements. Unlike other `NNS_G2dLoadImageXXX()` functions, this function does not actually load image data into the hardware. The actual load takes place during the game loop, which is performed by the VRAM transfer module. If a 2D Graphics Engine VRAM has been specified, the 2D Graphics Engine character mode will be set to the 1D mapping mode internally. (In NCGR and NCBR files, the VRAM transfer image elements are always stored in the 1D mapping mode.)

## See Also

None.

## Revision History

05/28/2004 Initial version.