# NNS_G2dInitializeCellAnimationVramTransfered

## C Specification

      #include <nnsys/g2d/g2d_CellAnimation.h>

      void NNS_G2dInitializeCellAnimationVramTransfered(
              NNSG2dCellAnimation*        pCellAnim,
              const NNSG2dAnimSequence*   pAnimSeq,
              NNSG2dCellDataBank*         pCellBank,
              u32                         vramSettingHandle,
              u32                         dstAddr3D,
              u32                         dstAddr2DMain,
              u32                         dstAddr2DSub,
              void*                       pSrcNCGR,
              void*                       pSrcNCBR,
              u32                         szSrcData );

## Arguments

pCellAnim | [OUT] Cell animation
pAnimSeq | [IN] Animation sequence
pCellBank | [IN] Cell data bank
vramSettingHandle | [IN] Handle for the cell transfer state object
dstAddr3D | [IN] VRAM transfer destination address
dstAddr2DMain | [IN] VRAM transfer destination address
dstAddr2DSub | [IN] VRAM transfer destination address
pSrcNCGR | [IN] VRAM transfer source data (Character data for 2D)
pSrcNCBR | [IN] VRAM transfer source data (Texture data for 3D)
szSrcData | [IN] VRAM transfer source data size

## Return Values

None.

## Description

Initializes the cell animation that does the VRAM transfer animation. Please specify `NNS_G2D_VRAM_ADDR_NONE` as the transfer destination address specification for any unused VRAM. For `pSrcNCGR` and `pSrcNCBR` of the transfer source data, please specify NULL if they are not used. If `NNS_G2D_VRAM_ADDR_NONE` is specified, then `dstAddr3d`, `dstAddr2DMain` and `dstAddr2DSub` will all fail to assert. When NULL has been specified, both `pSrcNCGR` and `pSrcNCBR` will fail to assert. For `pCellBank`, please use the data that is output exclusively for VRAM transfer that contains the VRAM transfer data. This function has a new name, and was renamed from `NNS_G2dInitializeCellAnimationVramTransfered()`. This function will remain to maintain compatibility.

## See Also

`NNS_G2dInitCellAnimationVramTransfered
`

## Revision History

08/02/2004 Renamed function.

07/20/2004 Initial version.