# NNS_G2dSetRndCoreImageProxy

## Syntax

      #include <nnsys/g2d/g2d_RendererCore.h>

          void NNS_G2dSetRndCoreImageProxy
          (
              NNSG2dRndCoreInstance*              pRnd,
              const NNSG2dImageProxy*             pImgProxy,
              const NNSG2dImagePaletteProxy*      pPltProxy
          );

## Arguments

`pRnd` | [OUT] Renderer core
`pImgProxy` | [IN] Image proxy
`pPltProxy` | [IN] Image palette proxy

## Return Values

None.

## Description

Sets the image proxy that will be referenced when the Renderer core module draws. Unlike with the Renderer module, calling this function inside the `BeginRendering` — `EndRendering` block and changing the image proxy is illegal. This is because the Renderer core module calculates parameters with `BeginRendering`.
This function must be called outside the `BeginRendering` — `EndRendering` block.

## See Also

`NNS_G2dInitRndCore`

## Revision History

2004/11/10 Initial version.

CONFIDENTIAL