#include <nnsys/g2d/g2d_CellAnimation.h>
void NNS_G2dInitializeCellAnimationVramTransfered(
NNSG2dCellAnimation* pCellAnim,
const NNSG2dAnimSequence* pAnimSeq,
const NNSG2dCellDataBank* pCellBank,
u32 vramSettingHandle,
u32 dstAddr3D,
u32 dstAddr2DMain,
u32 dstAddr2DSub,
const void* pSrcNCGR,
const void* pSrcNCBR,
u32 szSrcData );
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. |
None.
Initializes cell animation for the VRAM transfer animation. Specify NNS_G2D_VRAM_ADDR_NONE as the transfer destination address specification for any unused VRAM. For pSrcNCAGR and pSrcNCBR of the transfer source data, specify NULL if they are not used. Specifying NNS_G2D_VRAM_ADDR_NONE for each of dstAddr3d, dstAddr2DMain, and dstAddr2DSub results in an assertion failure. Specifying NULL for both pSrcNCGR and pSrcNCBR results in an assertion failure. For pCellBank, use the data that contains the VRAM transfer information and is output exclusively for VRAM transfer.
This function has been renamed to NNS_G2dInitCellAnimationVramTransfered. This function will remain to maintain compatibility.
NNS_G2dInitCellAnimationVramTransfered
2007/11/26 Added const keyword to the arguments for loading.
2004/08/02 Renamed function.
2004/07/20 Initial version.
CONFIDENTIAL