#include <nnsys/g2d/g2d_Image.h>
void NNS_G2dLoadImageVramTransfer(
const NNSG2dCharacterData* pSrcData,
u32 baseAddr,
NNS_G2D_VRAM_TYPE type,
NNSG2dImageProxy* pImgProxy );
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 |
None.
Sets the load results and image format to the image proxy.
This function is used exclusively for the raw images used in VRAM transfers. 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 2D Graphics Engine VRAM has been specified, this function internally sets the 2D Graphics Engine character mode to 1D mapping mode.
(In NCGR and NCBR files, the VRAM transfer image elements are always stored in the 1D mapping mode.)
None.
2004/05/28 Initial version.
CONFIDENTIAL