# NNS_G2dGetSizeRequiredVramTransferCellDataBank

## Syntax

      #include <nnsys/g2d/fmt/g2d_Cell_data.h>

          static inline u32 NNS_G2dGetSizeRequiredVramTransferCellDataBank
          (
              const NNSG2dCellDataBank* pCellBank
          );

## Arguments

`pCellBank` | [IN] Cell data bank

## Return Values

Returns the size in bytes of the VRAM region necessary for VRAM transfer.

## Description

Gets the size (in bytes) of the VRAM region needed by the VRAM transfer cell bank. Returns zero when there is no VRAM transfer information. Use this in VRAM allocation for VRAM transfer cell animation.
The name of this function was changed from `NNS_G2dGetSizeReqiredVramTransferCellDataBank`, which contained a spelling error ("Reqired" was changed to "Required.") The old function remains as a separate name.

## See Also

None.

## Revision History

2004/07/20 Initial version.

CONFIDENTIAL