# NNS_G2dLoadPalette

## Syntax

      #include <nnsys/g2d/g2d_Image.h>

      void NNS_G2dLoadPalette(
                                  const NNSG2dPaletteData*    pSrcData,
                                  u32                         addr,
                                  NNS_G2D_VRAM_TYPE           type,
                                  NNSG2dImagePaletteProxy*    pPltProxy );

## Arguments

`pSrcData` | [IN] Input image data source
`addr` | [IN] Load destination address
`type` | [IN] VRAM type to use (3D, 2D-Main, or 2D-Sub)
`pPltProxy` | [OUT] Image palette proxy that stores the load result

## Return Values

None.

## Description

Loads the image palette data to the hardware and sets the load results and the image format to the image palette proxy.

## See Also

None.

## Revision History

2004/05/28 Initial version.

CONFIDENTIAL