# NNS_G2dSetRndCoreImageProxy

## C Specification

      #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 begin-end rendering 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 of the `BeginRendering` — `EndRendering` block.

## See Also

`NNS_G2dInitRndCore
`

## Revision History

11/10/2004 Initial version.